From f169210c62b5bcdd3a08bca64039e13b780fa6fa Mon Sep 17 00:00:00 2001 From: Matt Ellis Date: Thu, 4 Feb 2016 22:33:14 -0800 Subject: [PATCH] Have `skiptests` control PAL tests as well Don't build the PAL test projects when `skiptests` is passed to build.sh. --- src/pal/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pal/CMakeLists.txt b/src/pal/CMakeLists.txt index 596eb84..619c74f 100644 --- a/src/pal/CMakeLists.txt +++ b/src/pal/CMakeLists.txt @@ -10,5 +10,8 @@ add_compile_options(-gdwarf-3) add_compile_options(-fexceptions) add_subdirectory(src) -add_subdirectory(tests) + +if(CLR_CMAKE_BUILD_TESTS) + add_subdirectory(tests) +endif(CLR_CMAKE_BUILD_TESTS) -- 2.7.4