Move 'slow' test files to different subdir. Modify CTestCustom.cmake.in to run leantests.

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-09-06 08:47:06 -07:00
parent 6f3b0c30fb
commit 6da194334e
6 changed files with 13 additions and 3 deletions

View file

@ -2,7 +2,7 @@
# List of tests to ignore during the MemCheck stage
SET(CTEST_CUSTOM_MEMCHECK_IGNORE ${CTEST_CUSTOM_MEMCHECK_IGNORE}
"leantests"
"leanslowtests"
"threads"
)

View file

@ -8,3 +8,6 @@ add_test(example3 ${CMAKE_CURRENT_BINARY_DIR}/lean "${LEAN_SOURCE_DIR}/../exampl
add_test(NAME leantests
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lean"
COMMAND "./test.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean")
add_test(NAME leanslowtests
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lean/slow"
COMMAND "../test.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean")

View file

@ -0,0 +1,3 @@
(* Set default configuration for tests *)
Set pp::colors false
Set pp::unicode true

View file

@ -0,0 +1,4 @@
Set: pp::colors
Set: pp::unicode
Set: pp::colors
Set: pp::unicode