Browse Source

Specify test files manually

So that cmake will detect file changes automatically and therefore we
don't need to re-invoke cmake manually.
adaptive-webui-19844
Chocobo1 2 years ago
parent
commit
0d715d879d
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 4
      test/CMakeLists.txt

4
test/CMakeLists.txt

@ -9,7 +9,9 @@ add_custom_target(check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
include_directories("../src") include_directories("../src")
file(GLOB testFiles "${CMAKE_CURRENT_SOURCE_DIR}/test*.cpp") set(testFiles
testutilsgzip.cpp
)
foreach(testFile ${testFiles}) foreach(testFile ${testFiles})
get_filename_component(testFilename "${testFile}" NAME_WLE) get_filename_component(testFilename "${testFile}" NAME_WLE)

Loading…
Cancel
Save