File tree Expand file tree Collapse file tree 1 file changed +11
-4
lines changed
regression/goto-synthesizer Expand file tree Collapse file tree 1 file changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -12,13 +12,20 @@ name=${*:$#}
1212name=${name% .c}
1313
1414args=${*: 6: $# -6}
15- if [[ " $args " != * " _ " * ]]
16- then
15+ if [[ " $args " != * " _ " * ]]; then
1716 args_inst=$args
1817 args_synthesizer=" "
18+ args_cbmc=" "
1919else
2020 args_inst=" ${args%% " _ " * } "
21- args_synthesizer=" ${args#* " _ " } "
21+ args=${args#* " _ " }
22+ if [[ " $args " != * " _ " * ]]; then
23+ args_synthesizer=$args
24+ args_cbmc=" "
25+ else
26+ args_synthesizer=" ${args%% " _ " * } "
27+ args_cbmc=" ${args#* " _ " } "
28+ fi
2229fi
2330
2431if [[ " ${is_windows} " == " true" ]]; then
@@ -50,5 +57,5 @@ if echo $args_synthesizer | grep -q -- "--dump-loop-contracts" ; then
5057else
5158 $goto_synthesizer ${args_synthesizer} " ${name} -mod.gb" " ${name} -mod-2.gb"
5259 echo " Running CBMC: "
53- $cbmc " ${name} -mod-2.gb"
60+ $cbmc ${args_cbmc} " ${name} -mod-2.gb"
5461fi
You can’t perform that action at this time.
0 commit comments