diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2017-05-22 11:00:10 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2017-05-22 11:00:10 -0500 |
commit | 02b3aba2273232504e76e0c7d49226ef2a27977f (patch) | |
tree | cef4178f5dd8c69549dbc9217681e69588e8d4ca /contrib/run-script-sygusComp2017-INV | |
parent | 0971aa005c33fb1aaa18ed4522e25d89bb909238 (diff) |
Initial draft of 2017 competition scripts.
Diffstat (limited to 'contrib/run-script-sygusComp2017-INV')
-rwxr-xr-x | contrib/run-script-sygusComp2017-INV | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/contrib/run-script-sygusComp2017-INV b/contrib/run-script-sygusComp2017-INV new file mode 100755 index 000000000..a25a5f5c8 --- /dev/null +++ b/contrib/run-script-sygusComp2017-INV @@ -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 --sygus-inv-templ=post + |