Skip to content

Commit fe2d682

Browse files
committed
Revert "Work-around Z3 bug"
This reverts commit b54ec34 I figured out a work-around in CN.
1 parent b54ec34 commit fe2d682

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

check.sh

+1-14
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,7 @@ good=0
1414
bad=0
1515
declare -a bad_tests
1616

17-
# https://github.com/rems-project/cerberus/pull/494 exposed an issue in
18-
# the Z3 which is a bit difficult to work around in the implementation
19-
# itself and so we have this hacky work-around instead whilst it is fixed
20-
# upstream https://github.com/Z3Prover/z3/issues/7352
21-
if [[ "${CN}" == "cn verify" ]] \
22-
|| [[ "${CN}" == *"--solver-type=z3"* ]]; then
23-
FILES=($(find "${SCRIPT_DIR}/src/examples" -name '*.c' \
24-
! -name queue_pop.c \
25-
! -name queue_push_induction.c))
26-
else
27-
FILES=($(find "${SCRIPT_DIR}/src/examples" -name '*.c'))
28-
fi
29-
30-
for file in "${FILES[@]}"
17+
for file in $SCRIPT_DIR/src/examples/*c;
3118
do
3219
echo "Checking $file ..."
3320
$CN $file

0 commit comments

Comments
 (0)