aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-04-15 11:10:36 -0700
committerAlon Zakai <alonzakai@gmail.com>2014-04-15 11:10:36 -0700
commitcec756a10804a8e59fd37cb6917c13a49e3b695a (patch)
treef84aa4a731fc2d567d3978ce5586458853501241
parent18854cc2fd77a9b3ae02f5f2324edcead681996c (diff)
parent88198a1fe0d27db3ba0e1773c5f11ef074ba782d (diff)
Merge pull request #3 from juj/skip_clang_tests
Skip Clang tests option.
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d05a4cdb5..bcd5c52578 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -290,10 +290,10 @@ option(CLANG_INCLUDE_TESTS
"Generate build targets for the Clang unit tests."
${LLVM_INCLUDE_TESTS})
-# TODO: docs.
-add_subdirectory(test)
-
if( CLANG_INCLUDE_TESTS )
+ # TODO: docs.
+ add_subdirectory(test) # XXX Emscripten: Backport fix from upstream LLVM 3.4 to actually skip tests if CLANG_INCLUDE_TESTS = OFF
+
add_subdirectory(unittests)
endif()