diff options
author | Brad King <brad.king@kitware.com> | 2014-04-09 20:32:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-04-09 20:44:13 (GMT) |
commit | 721e248bcad717e306133990bf9ac1b64861dbe7 (patch) | |
tree | e982d112b1283c3f4f968d44623eb9a763387702 /test | |
parent | 831ffbfb9a9e57436058eaead8eedf081b03103e (diff) | |
download | CastXML-721e248bcad717e306133990bf9ac1b64861dbe7.zip CastXML-721e248bcad717e306133990bf9ac1b64861dbe7.tar.gz CastXML-721e248bcad717e306133990bf9ac1b64861dbe7.tar.bz2 |
test: Split gccxml test macros by language and standard
Factor out macros to add tests by individual language standard from
those that cover a group of language standards.
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4d6b0dc..448e801 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -45,16 +45,28 @@ macro(castxml_test_gccxml_common prefix ext std test) ) endmacro() -macro(castxml_test_gccxml test) +macro(castxml_test_gccxml_c89 test) + castxml_test_gccxml_common(gccxml c c89 ${test}) +endmacro() + +macro(castxml_test_gccxml_cxx98 test) castxml_test_gccxml_common(gccxml cxx c++98 ${test}) endmacro() -macro(castxml_test_gccxml_broken test) +macro(castxml_test_gccxml_broken_cxx98 test) castxml_test_gccxml_common(gccxml.broken cxx c++98 ${test}) endmacro() macro(castxml_test_gccxml_c test) - castxml_test_gccxml_common(gccxml c c89 ${test}) + castxml_test_gccxml_c89(${test}) +endmacro() + +macro(castxml_test_gccxml test) + castxml_test_gccxml_cxx98(${test}) +endmacro() + +macro(castxml_test_gccxml_broken test) + castxml_test_gccxml_broken_cxx98(${test}) endmacro() set(input ${CMAKE_CURRENT_LIST_DIR}/input) |