| author | Gary Kramlich <grim@reaperworld.com> |
| Sun Jul 04 02:58:33 2010 -0500 (22 months ago) | |
| changeset 399 | 6042cc7c5374 |
| parent 398 | f378b0ef5573 |
| child 400 | 0938cb5d076b |
| 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@398 | 10 |
add_executable(gplate-text-tag-test gplate-text-tag-test.c) |
| grim@398 | 11 |
target_link_libraries(gplate-text-tag-test gplate-tag-test) |
| grim@398 | 12 |
list(APPEND TAG_TESTS gplate-text-tag-test) |
| grim@386 | 13 |
|
| grim@389 | 14 |
# add the variable tag tests |
| grim@398 | 15 |
add_executable(gplate-variable-tag-test gplate-variable-tag-test.c) |
| grim@398 | 16 |
target_link_libraries(gplate-variable-tag-test gplate-tag-test) |
| grim@398 | 17 |
list(APPEND TAG_TESTS gplate-variable-tag-test) |
| 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@399 | 25 |
add_test(GPlateTagTests ${GTESTER} -k --verbose -o gplate-tag-test.log ${TAG_TESTS}) |
| grim@396 | 26 |