Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move test declaration in proper CMakeLists.txt.
[simgrid.git] / teshsuite / lua / CMakeLists.txt
1 IF(SIMGRID_HAVE_LUA)
2   # Tests testing simulation from C but using lua for platform files. Executed like this
3   # ~$ ./masterslave platform.lua deploy.lua
4   ADD_TESH(lua-platform-masterslave                --setenv srcdir=${CMAKE_HOME_DIRECTORY} --setenv bindir=${CMAKE_BINARY_DIR} --cd ${CMAKE_BINARY_DIR} ${CMAKE_HOME_DIRECTORY}/teshsuite/lua/lua_platforms.tesh)
5   SET_TESTS_PROPERTIES(lua-platform-masterslave    PROPERTIES ENVIRONMENT "LUA_CPATH=${CMAKE_BINARY_DIR}/lib/lib?.${LIB_EXE}")
6 ENDIF()