webm2pes: Begin addition of tests.

Just the basics:
- Some new test utilities.
- Basic setup for webm2pes testing.

Change-Id: I16bf0f5ef36e7c01f2788b2c92600d6a936bbd40
This commit is contained in:
Tom Finegan
2016-01-21 11:50:37 -08:00
parent 9299bbb6ed
commit 453bf44d32
6 changed files with 139 additions and 1 deletions

View File

@@ -90,4 +90,14 @@ if (ENABLE_TESTS)
"${LIBWEBM_SRC_DIR}/testing/test_util.cc"
"${LIBWEBM_SRC_DIR}/testing/test_util.h")
target_link_libraries(parser_tests LINK_PUBLIC webm gtest)
add_executable(webm2pes_tests
"${LIBWEBM_SRC_DIR}/common/libwebm_utils.cc"
"${LIBWEBM_SRC_DIR}/common/libwebm_utils.h"
"${LIBWEBM_SRC_DIR}/testing/test_util.cc"
"${LIBWEBM_SRC_DIR}/testing/test_util.h"
"${LIBWEBM_SRC_DIR}/webm2pes.cc"
"${LIBWEBM_SRC_DIR}/webm2pes.h"
"${LIBWEBM_SRC_DIR}/testing/webm2pes_tests.cc")
target_link_libraries(webm2pes_tests LINK_PUBLIC webm gtest)
endif (ENABLE_TESTS)