summaryrefslogtreecommitdiff
path: root/contrib/competitions/sygus-comp/run-script-sygusComp-current-PBE_BitVec-f
blob: e5c55bc2ef40cfddb7343edac64e60f9c70ca121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

cvc4=./cvc4
bench="$1"

function finishwith {
  ($cvc4 --lang=sygus2 --no-type-checking --no-interactive --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
}

finishwith --sygus-si=none
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback