fix(tests/shared/CMakeLists): typos in test scripts

This commit is contained in:
Leonardo de Moura 2015-09-02 12:49:43 -07:00
parent 524e507022
commit 6f88e06472

View file

@ -12,33 +12,33 @@ add_test(NAME c_name_test
add_executable(c_options_test options.c)
target_link_libraries(c_options_test ${EXTRA_LIBS} leanshared)
add_test(OPTIONS c_options_test
add_test(NAME c_options_test
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/c_options_test")
add_executable(c_univ_test univ.c)
target_link_libraries(c_univ_test ${EXTRA_LIBS} leanshared)
add_test(UNIV c_univ_test
add_test(NAME c_univ_test
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/c_univ_test")
add_executable(c_expr_test expr.c)
target_link_libraries(c_expr_test ${EXTRA_LIBS} leanshared)
add_test(EXPR c_expr_test
add_test(NAME c_expr_test
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/c_expr_test")
add_executable(c_env_test env.c)
target_link_libraries(c_env_test ${EXTRA_LIBS} leanshared)
add_test(ENV c_env_test
add_test(NAME c_env_test
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/c_env_test")
SET_TESTS_PROPERTIES(ENV
SET_TESTS_PROPERTIES(c_env_test
PROPERTIES ENVIRONMENT "LEAN_PATH=${LEAN_SOURCE_DIR}/../library")
add_executable(thread_test thread.cpp)
target_link_libraries(thread_test ${EXTRA_LIBS} leanshared)
add_test(thread_test thread_test
add_test(NAME thread_test
WORKING_DIRECTORY "${LEAN_BINARY_DIR}"
COMMAND "${CMAKE_CURRENT_BINARY_DIR}/thread_test")
SET_TESTS_PROPERTIES(thread_test