Skip to content

Commit

Permalink
cmake: Run the Lua tests too
Browse files Browse the repository at this point in the history
  • Loading branch information
vmg committed Mar 30, 2016
1 parent abdbc36 commit 28b4efe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ set(TEST_WRAPPER ${CMAKE_CURRENT_BINARY_DIR}/wrapper.sh)

add_subdirectory(cc)
add_subdirectory(python)
add_subdirectory(lua)
6 changes: 6 additions & 0 deletions tests/lua/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
find_program(LUAJIT luajit)

if(LUAJIT)
add_test(NAME lua_test_clang WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMAND sudo ${LUAJIT} test_clang.lua)
endif()

0 comments on commit 28b4efe

Please sign in to comment.