Fix running tests on Windows etc.
This commit is contained in:
parent
0adcaf67c2
commit
122ab355a6
|
@ -30,5 +30,5 @@ enable_testing ()
|
||||||
foreach (name liberty proto)
|
foreach (name liberty proto)
|
||||||
add_executable (test-${name} tests/${name}.c ${common_sources})
|
add_executable (test-${name} tests/${name}.c ${common_sources})
|
||||||
target_link_libraries (test-${name} ${common_libraries})
|
target_link_libraries (test-${name} ${common_libraries})
|
||||||
add_test (test-${name} test-${name})
|
add_test (NAME test-${name} COMMAND test-${name})
|
||||||
endforeach (name)
|
endforeach (name)
|
||||||
|
|
Loading…
Reference in New Issue