diff options
Diffstat (limited to 'contrib/run-script-sygusComp2016-CLIA')
-rw-r--r-- | contrib/run-script-sygusComp2016-CLIA | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/run-script-sygusComp2016-CLIA b/contrib/run-script-sygusComp2016-CLIA new file mode 100644 index 000000000..3dc08d8c0 --- /dev/null +++ b/contrib/run-script-sygusComp2016-CLIA @@ -0,0 +1,16 @@ +#!/bin/bash + +cvc4=./cvc4 +bench="$1" + +function trywith { + ($cvc4 --lang=sygus --no-checking --no-interactive --dump-synth --default-dag-thresh=0 "$@" $bench) 2>/dev/null | + (read result w1; + case "$result" in + unsat) echo "$w1";cat;exit 0;; + esac; exit 1) + if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi +} + +trywith --decision=internal --cbqi-prereg-inst + |