diff options
author | juehv <juehv@tk-jh-frankenstein.tk.informatik.tu-darmstadt.de> | 2016-11-15 13:17:49 (GMT) |
---|---|---|
committer | juehv <juehv@tk-jh-frankenstein.tk.informatik.tu-darmstadt.de> | 2016-11-15 13:17:49 (GMT) |
commit | f10d0b4bf3aef14ab2a6e760633906410e7ca783 (patch) | |
tree | 5c50f3b0ba7caf19858dba540480c7e12801cdba /test/CMakeLists.txt | |
parent | d410a27cfe384fd292cf1fd30c56a6f08bc40b98 (diff) | |
parent | 13220a705ac1efda68c0a0aef0ed63fbc2bc27cd (diff) | |
download | uscxml-f10d0b4bf3aef14ab2a6e760633906410e7ca783.zip uscxml-f10d0b4bf3aef14ab2a6e760633906410e7ca783.tar.gz uscxml-f10d0b4bf3aef14ab2a6e760633906410e7ca783.tar.bz2 |
merge
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index e14586c..da70494 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -32,8 +32,7 @@ USCXML_TEST_COMPILE(NAME test-snippets LABEL general/test-snippets FILES src/tes # USCXML_TEST_COMPILE(NAME test-c89-parser LABEL general/test-c89-parser FILES src/test-c89-parser.cpp) # test-stress is not an automated test -add_executable(test-stress src/test-stress.cpp) -target_link_libraries(test-stress uscxml) +USCXML_TEST_COMPILE(BUILD_ONLY NAME test-stress LABEL general/test-stress FILES src/test-stress.cpp) file(GLOB_RECURSE USCXML_WRAPPERS ${PROJECT_SOURCE_DIR}/src/bindings/swig/wrapped/*.cpp @@ -41,6 +40,11 @@ file(GLOB_RECURSE USCXML_WRAPPERS ) USCXML_TEST_COMPILE(NAME test-bindings LABEL general/test-bindings FILES ${USCXML_WRAPPERS} src/test-bindings.cpp) +if (NOT MSVC) + # MSVC does not like to redefine 'protected' + USCXML_TEST_COMPILE(NAME test-promela-parser LABEL general/test-promela-parser FILES src/test-promela-parser.cpp) + target_link_libraries(test-promela-parser uscxml_transform) +endif() # the one binary to test for pass / fail final states add_executable(test-state-pass src/test-state-pass.cpp ${GETOPT_FILES}) @@ -134,14 +138,14 @@ if (NOT BUILD_MINIMAL) "null" "lua" "c89" - # "promela" + "promela" # generated c source "gen/c/ecma" # "gen/c/xpath" "gen/c/lua" # "gen/c/promela" - # "gen/vhdl/ecma" + "gen/vhdl/ecma" # bindings "binding/java/jexl" @@ -153,7 +157,7 @@ if (NOT BUILD_MINIMAL) # "fsm/promela" # formal verification - # "spin/promela" + "spin/promela" # performance tests # "perf/gen/c/ecma" |