File: runsamples

package info (click to toggle)
drawtiming 0.7.1-11
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 848 kB
  • sloc: cpp: 1,081; sh: 807; lex: 35; yacc: 32; makefile: 21
file content (29 lines) | stat: -rwxr-xr-x 752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

# Inspired from upstream runsamples.sh

echo "Running sample test"

drawtiming -o $AUTOPKGTEST_TMP/sample.gif samples/sample.txt || exit 1

echo "PASSED sample test"
echo "Running statement test"

drawtiming -o $AUTOPKGTEST_TMP/statement1.gif samples/statement1.txt || exit 1

echo "PASSED statement test"
echo "Running memory test"

drawtiming -x 1.5 -o $AUTOPKGTEST_TMP/memory.gif samples/memory.txt || exit 1

echo "PASSED memory test"
echo "Running sample test with pagesize"

drawtiming -p 640x480 -o $AUTOPKGTEST_TMP/sample640x480.gif samples/sample.txt || exit 1

echo "PASSED sample test with pagesize"
echo "Running Guenter test"

drawtiming -o $AUTOPKGTEST_TMP/guenter.gif samples/guenter.txt || exit 1

echo "PASSED Guenter test"