File: benchmark-fu.sh

package info (click to toggle)
form 5.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 8,308 kB
  • sloc: ansic: 110,546; cpp: 20,395; sh: 5,874; makefile: 545
file content (16 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# This is intended to be run from "make check".
trap 'exit 1' 1 2 13 15
status=0
for form in $TEST_BINS; do
  case $form in
    *tform*|*parform*|*tvorm*|*parvorm*)
      ;;
    *)
      # For now, only the sequential version.
      "$form" -v | head -1
      "$form" -q -D QUIET "$srcdir/formunit/fu.frm" || status=1
      ;;
  esac
done
exit $status