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
This commit is contained in:
parent
125049eecd
commit
5dea33eacc
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user