File tree 3 files changed +30
-7
lines changed
3 files changed +30
-7
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,18 @@ add_test_pl_tests(
2
2
"$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation"
3
3
)
4
4
5
- add_test_pl_profile(
6
- "jbmc-symex-driven-lazy-loading"
7
- "$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading"
8
- "-C;-X;symex-driven-lazy-loading-expected-failure;-s;symex-driven-loading"
9
- "CORE"
10
- )
5
+ if (DEFINED BDD_GUARDS)
6
+ add_test_pl_profile(
7
+ "jbmc-symex-driven-lazy-loading"
8
+ "$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading"
9
+ "-C;-X;symex-driven-lazy-loading-expected-failure;-s;symex-driven-loading"
10
+ "CORE"
11
+ )
12
+ else ()
13
+ add_test_pl_profile(
14
+ "jbmc-symex-driven-lazy-loading"
15
+ "$<TARGET_FILE:jbmc> --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading"
16
+ "-C;-X;symex-driven-lazy-loading-expected-failure;-X;bdd-expected-timeout;-s;symex-driven-loading"
17
+ "CORE"
18
+ )
19
+ endif ()
Original file line number Diff line number Diff line change @@ -4,11 +4,19 @@ include ../../src/config.inc
4
4
5
5
test :
6
6
@../$(CPROVER_DIR ) /regression/test.pl -e -p -c " ../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation"
7
+ ifeq ($(filter % DBDD_GUARDS, $(CXXFLAGS ) ) ,)
7
8
@../$(CPROVER_DIR)/regression/test.pl -e -p -c "../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading" -X symex-driven-lazy-loading-expected-failure -s symex-driven-loading
9
+ else
10
+ @../$(CPROVER_DIR)/regression/test.pl -e -p -c "../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading" -X symex-driven-lazy-loading-expected-failure -X bdd-expected-timeout -s symex-driven-loading
11
+ endif
8
12
9
13
tests.log : ../$(CPROVER_DIR ) /regression/test.pl
10
14
@../$(CPROVER_DIR ) /regression/test.pl -e -p -c " ../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation"
15
+ ifeq ($(filter % DBDD_GUARDS, $(CXXFLAGS ) ) ,)
11
16
@../$(CPROVER_DIR)/regression/test.pl -e -p -c "../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading" -X symex-driven-lazy-loading-expected-failure -s symex-driven-loading
17
+ else
18
+ @../$(CPROVER_DIR)/regression/test.pl -e -p -c "../../../src/jbmc/jbmc --validate-goto-model --validate-ssa-equation --symex-driven-lazy-loading" -X symex-driven-lazy-loading-expected-failure -X bdd-expected-timeout -s symex-driven-loading
19
+ endif
12
20
13
21
show :
14
22
@for dir in * ; do \
Original file line number Diff line number Diff line change 1
- CORE
1
+ CORE bdd-expected-timeout
2
2
Test.class
3
3
--function Test.main
4
4
^EXIT=0$
5
5
^SIGNAL=0$
6
6
^VERIFICATION SUCCESSFUL$
7
7
--
8
8
^warning: ignoring
9
+ --
10
+ This test is deactivated for the build with BDDs because it takes more
11
+ than 10 minutes for the test to complete.
12
+ This is due to the size of the BDD representing the guards growing more than
13
+ they do when reprented as exprt.
14
+
You can’t perform that action at this time.
0 commit comments