test(lua): invoke Lua binding tests from ctest

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2013-11-05 13:17:10 -08:00
parent ba3faea586
commit 40fde1a69c

View file

@ -1,2 +1,5 @@
add_executable(leanlua leanlua.cpp)
target_link_libraries(leanlua ${EXTRA_LIBS})
add_test(NAME leanluatests
WORKING_DIRECTORY "${LEAN_SOURCE_DIR}/../tests/lua"
COMMAND "./test.sh" "${CMAKE_CURRENT_BINARY_DIR}/leanlua")