[test-suite] r339053 - [CMake] Add option for appending extra custom lit modules
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 6 13:46:13 PDT 2018
Author: cbieneman
Date: Mon Aug 6 13:46:13 2018
New Revision: 339053
URL: http://llvm.org/viewvc/llvm-project?rev=339053&view=rev
Log:
[CMake] Add option for appending extra custom lit modules
This allows specifying extra lit modules to include when running tests.
Modified:
test-suite/trunk/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=339053&r1=339052&r2=339053&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Mon Aug 6 13:46:13 2018
@@ -238,8 +238,11 @@ endforeach()
option(TEST_SUITE_RUN_BENCHMARKS "Actually run the benchmarks in lit" On)
+set(TEST_SUITE_EXTRA_LIT_MODULES "" CACHE STRING
+ "Semicolon separated list of extra lit modules in use")
+mark_as_advanced(TEST_SUITE_EXTRA_LIT_MODULES)
# Construct list testing modules (see litsupport/*.py for available modules)
-set(LIT_MODULES "")
+set(LIT_MODULES ${TEST_SUITE_EXTRA_LIT_MODULES})
if(TEST_SUITE_RUN_BENCHMARKS)
list(APPEND LIT_MODULES run)
endif()
More information about the llvm-commits
mailing list