cmake: Fix tests.
authorPierre d'Herbemont <pdherbemont@free.fr>
Mon, 3 Mar 2008 21:25:32 +0000 (22:25 +0100)
committerPierre d'Herbemont <pdherbemont@free.fr>
Mon, 3 Mar 2008 21:25:32 +0000 (22:25 +0100)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt

index 782f963..420ae41 100644 (file)
@@ -269,21 +269,21 @@ set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
 ##########################################################
 # Tests
 
-add_executable(test_control    control/testapi.c)
+add_executable(test_testapi    control/testapi.c)
 add_executable(test_i18n_atof  test/i18n_atof.c)
 add_executable(test_url        test/url.c)
 add_executable(test_utf8       test/utf8.c)
 add_executable(test_dictionary test/dictionary.c)
 
-target_link_libraries(test_control    libvlc-control)
+target_link_libraries(test_testapi    libvlc-control)
 target_link_libraries(test_i18n_atof  libvlc)
 target_link_libraries(test_url        libvlc)
 target_link_libraries(test_utf8       libvlc)
 target_link_libraries(test_dictionary libvlc)
 
-add_test(test_control    ${CMAKE_CURRENT_BINARY_DIR}/testapi)
-add_test(test_i18n_atof  ${CMAKE_CURRENT_BINARY_DIR}/i18n_atof)
-add_test(test_url        ${CMAKE_CURRENT_BINARY_DIR}/url)
-add_test(test_utf8       ${CMAKE_CURRENT_BINARY_DIR}/utf8)
-add_test(test_dictionary ${CMAKE_CURRENT_BINARY_DIR}/dictionary)
+add_test(test_control    ${CMAKE_CURRENT_BINARY_DIR}/test_testapi)
+add_test(test_i18n_atof  ${CMAKE_CURRENT_BINARY_DIR}/test_i18n_atof)
+add_test(test_url        ${CMAKE_CURRENT_BINARY_DIR}/test_url)
+add_test(test_utf8       ${CMAKE_CURRENT_BINARY_DIR}/test_utf8)
+add_test(test_dictionary ${CMAKE_CURRENT_BINARY_DIR}/test_dictionary)