Skip to content

Commit f38c54a

Browse files
committed
Test runner WIP
1 parent a06fc5f commit f38c54a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: regression/contracts-dfcc/chain.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ elif echo $args_inst | grep -q -- "--dump-c" ; then
5858

5959
rm "${name}${dfcc_suffix}-mod.c"
6060
fi
61-
$goto_instrument --show-goto-functions "${name}${dfcc_suffix}-mod.gb"
61+
$goto_instrument --no-malloc-fail --show-goto-functions "${name}${dfcc_suffix}-mod.gb"
6262
$cbmc --no-standard-checks "${name}${dfcc_suffix}-mod.gb" ${args_cbmc}

Diff for: regression/goto-synthesizer/chain.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ fi
3737
rm -f "${name}-mod.gb"
3838
rm -f "${name}-mod-2.gb"
3939
echo "Running goto-instrument: "
40-
$goto_instrument ${args_inst} "${name}.gb" "${name}-mod.gb"
40+
$goto_instrument --no-malloc-fail ${args_inst} "${name}.gb" "${name}-mod.gb"
4141
if [ ! -e "${name}-mod.gb" ] ; then
4242
cp "$name.gb" "${name}-mod.gb"
4343
elif echo $args_inst | grep -q -- "--dump-c" ; then
@@ -53,9 +53,9 @@ elif echo $args_inst | grep -q -- "--dump-c" ; then
5353
fi
5454
echo "Running goto-synthesizer: "
5555
if echo $args_synthesizer | grep -q -- "--dump-loop-contracts" ; then
56-
$goto_synthesizer ${args_synthesizer} "${name}-mod.gb"
56+
$goto_synthesizer ${args_synthesizer} --no-malloc-fail "${name}-mod.gb"
5757
else
58-
$goto_synthesizer ${args_synthesizer} "${name}-mod.gb" "${name}-mod-2.gb"
58+
$goto_synthesizer ${args_synthesizer} --no-malloc-fail "${name}-mod.gb" "${name}-mod-2.gb"
5959
echo "Running CBMC: "
6060
$cbmc --no-standard-checks ${args_cbmc} "${name}-mod-2.gb"
6161
fi

0 commit comments

Comments
 (0)