Rename our tests to start with the prefix 'Test'

This commit is contained in:
Pavel Krajcevski 2013-09-04 20:21:28 -04:00
parent abd4ba8b54
commit 052157ea49

View file

@ -61,10 +61,11 @@ SET(TESTS
) )
FOREACH(TEST ${TESTS}) FOREACH(TEST ${TESTS})
SET(TEST ${TEST}Test) SET(TEST_NAME Test${TEST})
ADD_EXECUTABLE(${TEST} ${TEST}.cpp) SET(TEST_MODULE ${TEST}Test.cpp)
TARGET_LINK_LIBRARIES(${TEST} PVRTCEncoder) ADD_EXECUTABLE(${TEST_NAME} ${TEST_MODULE})
TARGET_LINK_LIBRARIES(${TEST} gtest_main) TARGET_LINK_LIBRARIES(${TEST_NAME} PVRTCEncoder)
ADD_TEST(${TEST} ${TEST}) TARGET_LINK_LIBRARIES(${TEST_NAME} gtest_main)
ADD_TEST(${TEST_NAME} ${TEST_NAME})
ENDFOREACH() ENDFOREACH()