File: runtests.sh

package info (click to toggle)
contextfree 3.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,260 kB
  • sloc: cpp: 37,992; lex: 414; makefile: 123; sh: 43; python: 34
file content (16 lines) | stat: -rwxr-xr-x 320 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

mkdir output
for file in input/tests/*.cfdg input/*.cfdg
do 
    ./cfdg -qP "$file" output/test.png
    if [ $? -eq 0 ]
    then
        echo "$file   pass"
    else
        echo "$file          FAIL: $?"
        break
    fi
done
./cfdg -a150 -s640x480 --quicktime -vffgh input/mtree.cfdg output/mtree.mpeg