From 5dea33eacc5f8270d489b47f66e5d660dec70707 Mon Sep 17 00:00:00 2001 From: Tom Finegan Date: Tue, 23 Aug 2016 10:29:30 -0700 Subject: [PATCH] Disambiguate test source and target names. Rename source files and targets to better reflect what is actually being tested. muxer_tests => mkvmuxer_tests parser_tests => mkvparser_tests Change-Id: I921901f37d269f294b96ba20732b31c27f81945b --- CMakeLists.txt | 12 ++++++------ testing/{muxer_tests.cc => mkvmuxer_tests.cc} | 0 testing/{parser_tests.cc => mkvparser_tests.cc} | 0 3 files changed, 6 insertions(+), 6 deletions(-) rename testing/{muxer_tests.cc => mkvmuxer_tests.cc} (100%) rename testing/{parser_tests.cc => mkvparser_tests.cc} (100%) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1340f3e..5433d76 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -266,17 +266,17 @@ if (ENABLE_TESTS) add_subdirectory("${GTEST_SRC_DIR}" "${GTEST_BUILD_DIR}") include_directories("${GTEST_SRC_DIR}/googletest/include") - add_executable(muxer_tests - "${LIBWEBM_SRC_DIR}/testing/muxer_tests.cc" + add_executable(mkvmuxer_tests + "${LIBWEBM_SRC_DIR}/testing/mkvmuxer_tests.cc" "${LIBWEBM_SRC_DIR}/testing/test_util.cc" "${LIBWEBM_SRC_DIR}/testing/test_util.h") - target_link_libraries(muxer_tests LINK_PUBLIC gtest webm) + target_link_libraries(mkvmuxer_tests LINK_PUBLIC gtest webm) - add_executable(parser_tests - "${LIBWEBM_SRC_DIR}/testing/parser_tests.cc" + add_executable(mkvparser_tests + "${LIBWEBM_SRC_DIR}/testing/mkvparser_tests.cc" "${LIBWEBM_SRC_DIR}/testing/test_util.cc" "${LIBWEBM_SRC_DIR}/testing/test_util.h") - target_link_libraries(parser_tests LINK_PUBLIC gtest webm) + target_link_libraries(mkvparser_tests LINK_PUBLIC gtest webm) add_executable(vp9_header_parser_tests "${LIBWEBM_SRC_DIR}/common/vp9_header_parser_tests.cc" diff --git a/testing/muxer_tests.cc b/testing/mkvmuxer_tests.cc similarity index 100% rename from testing/muxer_tests.cc rename to testing/mkvmuxer_tests.cc diff --git a/testing/parser_tests.cc b/testing/mkvparser_tests.cc similarity index 100% rename from testing/parser_tests.cc rename to testing/mkvparser_tests.cc