fix config.json path in test command
This commit is contained in:
+1
-1
@@ -104,7 +104,7 @@ enable_testing()
|
|||||||
file(GLOB TestCases ${CMAKE_SOURCE_DIR}/tests/*.test.txt)
|
file(GLOB TestCases ${CMAKE_SOURCE_DIR}/tests/*.test.txt)
|
||||||
|
|
||||||
foreach(TestCase IN ITEMS ${TestCases})
|
foreach(TestCase IN ITEMS ${TestCases})
|
||||||
add_test(NAME ${TestCase} COMMAND ${CMAKE_BUILD_DIR}/newserv --replay-log=${TestCase} --config=tests/config.json)
|
add_test(NAME ${TestCase} COMMAND ${CMAKE_BUILD_DIR}/newserv --replay-log=${TestCase} --config=${CMAKE_SOURCE_DIR}/tests/config.json)
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user