| author | Gary Kramlich <grim@reaperworld.com> |
| Sun Jul 04 02:53:53 2010 -0500 (22 months ago) | |
| changeset 396 | 2771744219bd |
| parent 391 | 20d032b30b6a |
| child 398 | f378b0ef5573 |
| permissions | -rw-r--r-- |
| grim@386 | 1 |
enable_testing() |
| grim@386 | 2 |
|
| grim@389 | 3 |
# define the static library for tag testing |
| grim@389 | 4 |
add_library(gplate-tag-test STATIC |
| grim@389 | 5 |
gplate-tag-test.c |
| grim@389 | 6 |
) |
| grim@389 | 7 |
target_link_libraries(gplate-tag-test gplate) |
| grim@389 | 8 |
|
| grim@389 | 9 |
# add the text tag tests |
| grim@391 | 10 |
add_executable(test-text-tag gplate-text-tag-test.c) |
| grim@389 | 11 |
target_link_libraries(test-text-tag gplate-tag-test) |
| grim@396 | 12 |
list(APPEND TAG_TESTS test-text-tag) |
| grim@386 | 13 |
|
| grim@389 | 14 |
# add the variable tag tests |
| grim@391 | 15 |
add_executable(test-variable-tag gplate-variable-tag-test.c) |
| grim@389 | 16 |
target_link_libraries(test-variable-tag gplate-tag-test) |
| grim@396 | 17 |
list(APPEND TAG_TESTS test-variable-tag) |
| grim@389 | 18 |
|
| grim@396 | 19 |
# add the comment tag tests |
| grim@396 | 20 |
add_executable(gplate-comment-tag-test gplate-comment-tag-test.c) |
| grim@396 | 21 |
target_link_libraries(gplate-comment-tag-test gplate-tag-test) |
| grim@396 | 22 |
list(APPEND TAG_TESTS gplate-comment-tag-test) |
| grim@396 | 23 |
|
| grim@396 | 24 |
# add the tests for gtester |
| grim@396 | 25 |
add_test(GPlateTagTests ${GTESTER} -k --verbose ${TAG_TESTS}) |
| grim@396 | 26 |