File: runtest.sh

package info (click to toggle)
uim 1%3A1.8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 38,956 kB
  • sloc: lisp: 356,804; ansic: 77,833; cpp: 27,846; sh: 12,460; makefile: 2,546; asm: 333; ruby: 288
file content (49 lines) | stat: -rwxr-xr-x 849 bytes parent folder | download | duplicates (16)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/bin/sh

SSCM="src/sscm --system-load-path $PWD/lib"

if test "x$1" != "x"; then
  while test "$#" -ne 0; do
    $SSCM "$1"
    shift
  done
  exit 0
fi

run_test () {
    echo "Running test $1..."
    $SSCM $1
    echo
}

echo "[ Run single ported tests ]"
for test in test/stone-srfi1.scm test/oleg-srfi2.scm test/panu-srfi69.scm #test/r5rs_pitfall.scm
do
  run_test $test
done

echo "[ Run tests ported from SCM]"
for test in test/scm-*.scm
do
  run_test $test
done

echo "[ Run tests ported from Bigloo]"
for test in test/bigloo-*.scm
do
  run_test $test
done

echo "[ Run tests ported from Gauche ]"
for test in test/gauche-*.scm
do
  run_test $test
done

echo "[ Run SigScheme tests ]"
for test in `ls test/test-*.scm | egrep -v 'test-tail-rec\.scm'`
do
  run_test $test
done

echo "Run also runtest-tail-rec.sh for proper tail recursions."