summaryrefslogtreecommitdiff
path: root/contrib/run-script-sygusComp2017-CLIA
blob: 3dc08d8c0eea9c56fbf32c2215ee010924d7ac1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
 
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback