test(lua): invoke Lua binding tests from ctest
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
ba3faea586
commit
40fde1a69c
1 changed files with 3 additions and 0 deletions
|
@ -1,2 +1,5 @@
|
||||||
add_executable(leanlua leanlua.cpp)
|
add_executable(leanlua leanlua.cpp)
|
||||||
target_link_libraries(leanlua ${EXTRA_LIBS})
|
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")
|
||||||
|
|
Loading…
Reference in a new issue