Skip to content

Commit aaf2b8d

Browse files
committed
Add --no-standard-checks to regression/book-examples runner scripts
1 parent 161321f commit aaf2b8d

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

regression/book-examples/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ else()
1313
endif()
1414

1515
add_test_pl_tests(
16-
"$<TARGET_FILE:cbmc> --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only} ${exclude_win_broken_tests}
16+
"$<TARGET_FILE:cbmc> --no-standard-checks --validate-goto-model --validate-ssa-equation" -X smt-backend ${gcc_only} ${exclude_win_broken_tests}
1717
)
1818

1919
add_test_pl_profile(
2020
"book-examples-paths-lifo"
21-
"$<TARGET_FILE:cbmc> --paths lifo"
21+
"$<TARGET_FILE:cbmc> --no-standard-checks --paths lifo"
2222
"-C;-X;thorough-paths;-X;smt-backend;-X;paths-lifo-expected-failure;${gcc_only_string}-s;paths-lifo;${exclude_win_broken_tests_string}"
2323
"CORE"
2424
)
2525

2626
add_test_pl_profile(
2727
"book-examples-cprover-smt2"
28-
"$<TARGET_FILE:cbmc> --cprover-smt2"
28+
"$<TARGET_FILE:cbmc> --no-standard-checks --cprover-smt2"
2929
"-C;-X;broken-smt-backend;-X;thorough-smt-backend;-X;broken-cprover-smt-backend;-X;thorough-cprover-smt-backend;${gcc_only_string}-s;cprover-smt2;${exclude_win_broken_tests_string}"
3030
"CORE"
3131
)
3232

3333
# If `-X` (exclude flag) is passed, test.pl will exclude the tests matching the label following it.
3434
add_test_pl_profile(
3535
"book-examples-new-smt-backend"
36-
"$<TARGET_FILE:cbmc> --incremental-smt2-solver 'z3 --smt2 -in'"
36+
"$<TARGET_FILE:cbmc> --no-standard-checks --incremental-smt2-solver 'z3 --smt2 -in'"
3737
"${gcc_only_string}-X;no-new-smt;-s;new-smt-backend"
3838
"CORE"
3939
)

regression/book-examples/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,27 @@ GCC_ONLY =
1010
endif
1111

1212
test:
13-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --validate-goto-model --validate-ssa-equation" -X smt-backend $(GCC_ONLY)
13+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --no-standard-checks --validate-goto-model --validate-ssa-equation" -X smt-backend $(GCC_ONLY)
1414

1515
test-cprover-smt2:
16-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --cprover-smt2" \
16+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --no-standard-checks --cprover-smt2" \
1717
-X broken-smt-backend -X thorough-smt-backend \
1818
-X broken-cprover-smt-backend -X thorough-cprover-smt-backend \
1919
-s cprover-smt2 $(GCC_ONLY)
2020

2121
test-z3:
22-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --z3" \
22+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --no-standard-checks --z3" \
2323
-X broken-smt-backend -X thorough-smt-backend \
2424
-X broken-z3-smt-backend -X thorough-z3-smt-backend \
2525
-s z3 $(GCC_ONLY)
2626

2727
test-paths-lifo:
28-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --paths lifo" \
28+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --no-standard-checks --paths lifo" \
2929
-X thorough-paths -X smt-backend -X paths-lifo-expected-failure \
3030
-s paths-lifo $(GCC_ONLY)
3131

3232
test-new-smt-backend:
33-
@../test.pl -e -p -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'z3 --smt2 -in'" \
33+
@../test.pl -e -p -c "../../../src/cbmc/cbmc --no-standard-checks --incremental-smt2-solver 'z3 --smt2 -in'" \
3434
-X no-new-smt \
3535
-s new-smt-backend $(GCC_ONLY)
3636

0 commit comments

Comments
 (0)