From 6d7bff2476459049f4f554291a680e0f6003ea66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 7 Jun 2015 21:10:18 +0200 Subject: GH-1060 remove updater code --- mmc_updater/src/tests/CMakeLists.txt | 47 ------------------------------------ 1 file changed, 47 deletions(-) delete mode 100644 mmc_updater/src/tests/CMakeLists.txt (limited to 'mmc_updater/src/tests/CMakeLists.txt') diff --git a/mmc_updater/src/tests/CMakeLists.txt b/mmc_updater/src/tests/CMakeLists.txt deleted file mode 100644 index 5a96d7c9..00000000 --- a/mmc_updater/src/tests/CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ - -include_directories("${CMAKE_CURRENT_SOURCE_DIR}/..") - -if(APPLE) - set(HELPER_SHARED_SOURCES ../StlSymbolsLeopard.cpp) -endif() - -# # Create helper binaries for unit tests -# add_executable(oldapp -# old_app.cpp -# ${HELPER_SHARED_SOURCES} -# ) -# add_executable(newapp -# new_app.cpp -# ${HELPER_SHARED_SOURCES} -# ) - -# Install data files required by unit tests -set(TEST_FILES - file_list.xml -) - -foreach(TEST_FILE ${TEST_FILES}) - execute_process( - COMMAND - "${CMAKE_COMMAND}" -E copy_if_different "${CMAKE_CURRENT_SOURCE_DIR}/${TEST_FILE}" "${CMAKE_CURRENT_BINARY_DIR}" - ) -endforeach() - -# Add unit test binaries -macro(ADD_UPDATER_TEST CLASS) - set(TEST_TARGET updater_${CLASS}) - unset(srcs) - list(APPEND srcs ${CLASS}.cpp) - if(WIN32) - list(APPEND srcs ${CMAKE_CURRENT_SOURCE_DIR}/test.rc) - endif() - add_executable(${TEST_TARGET} ${srcs}) - target_link_libraries(${TEST_TARGET} updatershared) - add_test(NAME ${TEST_TARGET} COMMAND ${TEST_TARGET}) - if(APPLE) - set_target_properties(${TEST_TARGET} PROPERTIES LINK_FLAGS "-framework Security -framework Cocoa") - endif() -endmacro() - -add_updater_test(TestParseScript) -add_updater_test(TestFileUtils) -- cgit v1.2.3