1.1 --- a/gplate/tags/tests/CMakeLists.txt Sun Jul 04 02:58:33 2010 -0500
1.2 +++ b/gplate/tags/tests/CMakeLists.txt Sun Jul 04 03:34:39 2010 -0500
1.3 @@ -1,26 +1,29 @@
1.4 enable_testing()
1.5
1.6 # define the static library for tag testing
1.7 -add_library(gplate-tag-test STATIC
1.8 - gplate-tag-test.c
1.9 +add_library(test-gplate-tag STATIC
1.10 + test-gplate-tag.c
1.11 )
1.12 -target_link_libraries(gplate-tag-test gplate)
1.13 +target_link_libraries(test-gplate-tag gplate)
1.14
1.15 # add the text tag tests
1.16 -add_executable(gplate-text-tag-test gplate-text-tag-test.c)
1.17 -target_link_libraries(gplate-text-tag-test gplate-tag-test)
1.18 -list(APPEND TAG_TESTS gplate-text-tag-test)
1.19 +add_executable(test-gplate-text-tag test-gplate-text-tag.c)
1.20 +target_link_libraries(test-gplate-text-tag test-gplate-tag)
1.21 +list(APPEND TAG_TESTS test-gplate-text-tag)
1.22
1.23 # add the variable tag tests
1.24 -add_executable(gplate-variable-tag-test gplate-variable-tag-test.c)
1.25 -target_link_libraries(gplate-variable-tag-test gplate-tag-test)
1.26 -list(APPEND TAG_TESTS gplate-variable-tag-test)
1.27 +add_executable(test-gplate-variable-tag test-gplate-variable-tag.c)
1.28 +target_link_libraries(test-gplate-variable-tag test-gplate-tag)
1.29 +list(APPEND TAG_TESTS test-gplate-variable-tag)
1.30
1.31 # add the comment tag tests
1.32 -add_executable(gplate-comment-tag-test gplate-comment-tag-test.c)
1.33 -target_link_libraries(gplate-comment-tag-test gplate-tag-test)
1.34 -list(APPEND TAG_TESTS gplate-comment-tag-test)
1.35 +add_executable(test-gplate-comment-tag test-gplate-comment-tag.c)
1.36 +target_link_libraries(test-gplate-comment-tag test-gplate-tag)
1.37 +list(APPEND TAG_TESTS test-gplate-comment-tag)
1.38
1.39 # add the tests for gtester
1.40 -add_test(GPlateTagTests ${GTESTER} -k --verbose -o gplate-tag-test.log ${TAG_TESTS})
1.41 +add_test(GPlateTagTests
1.42 + ${GTESTER} -k --verbose -o test-gplate-tag.log
1.43 + ${TAG_TESTS}
1.44 +)
1.45