Skip to content

Commit 4452558

Browse files
committed
Update test runner replace new-smt-backend with no-new-smt
In order to make the tags in the previous commit work as expected.
1 parent ef4144b commit 4452558

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

regression/book-examples/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ add_test_pl_profile(
3030
"CORE"
3131
)
3232

33-
# If `-I` (include flag) is passed, test.pl will run only the tests matching the label following it.
33+
# 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"
3636
"$<TARGET_FILE:cbmc> --incremental-smt2-solver 'z3 --smt2 -in'"
37-
"${gcc_only_string}-I;new-smt-backend;-s;new-smt-backend"
37+
"${gcc_only_string}-X;no-new-smt;-s;new-smt-backend"
3838
"CORE"
3939
)
4040

regression/book-examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test-paths-lifo:
3131

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

3737
tests.log: ../test.pl test

regression/cbmc-primitives/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ if(Z3_EXISTS)
55
"$<TARGET_FILE:cbmc>"
66
)
77

8-
# If `-I` (include flag) is passed, test.pl will run only the tests matching the label following it.
8+
# If `-X` (exclude flag) is passed, test.pl will exclude the tests matching the label following it.
99
add_test_pl_profile(
1010
"cbmc-primitives-new-smt-backend"
1111
"$<TARGET_FILE:cbmc> --incremental-smt2-solver 'z3 --smt2 -in'"
12-
"-I;new-smt-backend;-s;new-smt-backend"
12+
"-X;no-new-smt;-s;new-smt-backend"
1313
"CORE"
1414
)
1515
else()

regression/cbmc-primitives/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ test:
44
@../test.pl -e -p -c ../../../src/cbmc/cbmc
55

66
test.smt2_incr:
7-
@../test.pl -e -p -I new-smt-backend -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'z3 --smt2 -in' --validate-goto-model --validate-ssa-equation"
7+
@../test.pl -e -p -X no-new-smt -c "../../../src/cbmc/cbmc --incremental-smt2-solver 'z3 --smt2 -in' --validate-goto-model --validate-ssa-equation"
88

99
tests.log: ../test.pl
1010
@../test.pl -e -p -c ../../../src/cbmc/cbmc

regression/cbmc/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ add_test_pl_profile(
3030
"CORE"
3131
)
3232

33-
# If `-I` (include flag) is passed, test.pl will run only the tests matching the label following it.
33+
# If `-X` (exclude flag) is passed, test.pl will exclude the tests matching the label following it.
3434
add_test_pl_profile(
3535
"cbmc-new-smt-backend"
3636
"$<TARGET_FILE:cbmc> --incremental-smt2-solver 'z3 --smt2 -in'"
37-
"${gcc_only_string}-I;new-smt-backend;-s;new-smt-backend"
37+
"${gcc_only_string}-X;no-new-smt;-s;new-smt-backend"
3838
"CORE"
3939
)
4040

regression/cbmc/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ test-paths-lifo:
3131

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

3737
tests.log: ../test.pl test

0 commit comments

Comments
 (0)