Skip to content

Commit f64b221

Browse files
committed
Exclude test profile on windows for regression/jbmc-strings/
and mark regression/jbmc-concurrency/ test as known bug on windows.
1 parent c9456f2 commit f64b221

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
2+
set(exclude_win_broken_tests -X winbug)
3+
else()
4+
set(exclude_win_broken_tests "")
5+
endif()
6+
17
add_test_pl_tests(
2-
"$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation"
8+
"$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation" ${exclude_win_broken_tests}
39
)

jbmc/regression/jbmc-concurrency/synchronized/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CORE
1+
CORE winbug
22
Sync
33
--java-threading --throw-runtime-exceptions --cp `../../../../scripts/format_classpath.sh . ../../../src/java_bytecode/library/core-models.jar`
44
^EXIT=0$

jbmc/regression/jbmc-strings/CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ add_test_pl_tests(
88
"$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation" ${exclude_win_broken_tests}
99
)
1010

11-
add_test_pl_profile(
11+
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
12+
message(WARNING "skipping broken jbmc-strings/ tests on windows")
13+
else()
14+
add_test_pl_profile(
1215
"jbmc-strings-symex-driven-lazy-loading"
1316
"$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading"
1417
"-C;-X;symex-driven-lazy-loading-expected-failure;-s;symex-driven-loading"
1518
"CORE"
16-
)
19+
)
20+
endif()

0 commit comments

Comments
 (0)