From: Vicent Marti Date: Wed, 30 Mar 2016 18:37:26 +0000 (+0200) Subject: cmake: Use the wrapper script for Lua tests too X-Git-Tag: v0.2.0~128^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab324814c61a4b06f6436bcc50fedf7bd76b4455;p=platform%2Fupstream%2Fbcc.git cmake: Use the wrapper script for Lua tests too --- diff --git a/tests/lua/CMakeLists.txt b/tests/lua/CMakeLists.txt index 60a68a9..52c3826 100644 --- a/tests/lua/CMakeLists.txt +++ b/tests/lua/CMakeLists.txt @@ -1,7 +1,12 @@ find_program(LUAJIT luajit) -find_program(SUDO sudo) if(LUAJIT) add_test(NAME lua_test_clang WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - COMMAND ${SUDO} ${LUAJIT} test_clang.lua) + COMMAND ${TEST_WRAPPER} lua_test_clang sudo ${LUAJIT} test_clang.lua) + + add_test(NAME lua_test_uprobes WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + COMMAND ${TEST_WRAPPER} lua_test_uprobes sudo ${LUAJIT} test_uprobes.lua) + + add_test(NAME lua_test_dump WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + COMMAND ${TEST_WRAPPER} lua_test_dump sudo ${LUAJIT} test_dump.lua) endif()