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})
SET(TEST ${TEST}Test)
ADD_EXECUTABLE(${TEST} ${TEST}.cpp)
TARGET_LINK_LIBRARIES(${TEST} PVRTCEncoder)
TARGET_LINK_LIBRARIES(${TEST} gtest_main)
ADD_TEST(${TEST} ${TEST})
SET(TEST_NAME Test${TEST})
SET(TEST_MODULE ${TEST}Test.cpp)
ADD_EXECUTABLE(${TEST_NAME} ${TEST_MODULE})
TARGET_LINK_LIBRARIES(${TEST_NAME} PVRTCEncoder)
TARGET_LINK_LIBRARIES(${TEST_NAME} gtest_main)
ADD_TEST(${TEST_NAME} ${TEST_NAME})
ENDFOREACH()