chore(build): add Lua thread tests to test suite
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
21e3e22017
commit
813eba6b3a
1 changed files with 12 additions and 12 deletions
|
@ -94,18 +94,18 @@ ENDFOREACH(T)
|
||||||
# COMMAND "./test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean -t" ${T})
|
# COMMAND "./test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean -t" ${T})
|
||||||
# ENDFOREACH(T)
|
# ENDFOREACH(T)
|
||||||
|
|
||||||
# # LEAN LUA THREAD TESTS
|
# LEAN LUA THREAD TESTS
|
||||||
# if((${CYGWIN} EQUAL "1") OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
if((${CYGWIN} EQUAL "1") OR (${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
||||||
# if ((NOT (${CMAKE_CXX_COMPILER} MATCHES "clang")) AND (${MULTI_THREAD} MATCHES "ON"))
|
if ((NOT (${CMAKE_CXX_COMPILER} MATCHES "clang")) AND (${MULTI_THREAD} MATCHES "ON"))
|
||||||
# file(GLOB LEANLUATHREADTESTS "${LEAN_SOURCE_DIR}/../tests/lua/threads/*.lua")
|
file(GLOB LEANLUATHREADTESTS "${LEAN_SOURCE_DIR}/../tests/lua/threads/*.lua")
|
||||||
# FOREACH(T ${LEANLUATHREADTESTS})
|
FOREACH(T ${LEANLUATHREADTESTS})
|
||||||
# GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
GET_FILENAME_COMPONENT(T_NAME ${T} NAME)
|
||||||
# add_test(NAME "leanluathreadtest_${T_NAME}"
|
add_test(NAME "leanluathreadtest_${T_NAME}"
|
||||||
# WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lua/threads"
|
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lua/threads"
|
||||||
# COMMAND "../test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean -t" ${T})
|
COMMAND "../test_single.sh" "${CMAKE_CURRENT_BINARY_DIR}/lean -t" ${T})
|
||||||
# ENDFOREACH(T)
|
ENDFOREACH(T)
|
||||||
# endif()
|
endif()
|
||||||
# endif()
|
endif()
|
||||||
|
|
||||||
# # Create the script lean.sh
|
# # Create the script lean.sh
|
||||||
# # This is used to create a soft dependency on the Lean executable
|
# # This is used to create a soft dependency on the Lean executable
|
||||||
|
|
Loading…
Reference in a new issue