Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit cec756a

Browse files
committed
Merge pull request #3 from juj/skip_clang_tests
Skip Clang tests option.
2 parents 18854cc + 88198a1 commit cec756a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,10 @@ option(CLANG_INCLUDE_TESTS
290290
"Generate build targets for the Clang unit tests."
291291
${LLVM_INCLUDE_TESTS})
292292

293-
# TODO: docs.
294-
add_subdirectory(test)
295-
296293
if( CLANG_INCLUDE_TESTS )
294+
# TODO: docs.
295+
add_subdirectory(test) # XXX Emscripten: Backport fix from upstream LLVM 3.4 to actually skip tests if CLANG_INCLUDE_TESTS = OFF
296+
297297
add_subdirectory(unittests)
298298
endif()
299299

0 commit comments

Comments
 (0)