Fix running tests on Windows etc.

This commit is contained in:
Přemysl Eric Janouch 2015-12-09 00:57:00 +01:00
parent 0adcaf67c2
commit 122ab355a6

View File

@ -30,5 +30,5 @@ enable_testing ()
foreach (name liberty proto)
add_executable (test-${name} tests/${name}.c ${common_sources})
target_link_libraries (test-${name} ${common_libraries})
add_test (test-${name} test-${name})
add_test (NAME test-${name} COMMAND test-${name})
endforeach (name)