~ubuntu-branches/ubuntu/hardy/uim/hardy

« back to all changes in this revision

Viewing changes to sigscheme/runtest.sh

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2007-04-21 03:46:09 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20070421034609-gpcurkutp8vaysqj
Tags: 1:1.4.1-3
* Switch to dh_gtkmodules for the gtk 2.10 transition (Closes:
  #419318)
  - debian/control: Add ${misc:Depends} and remove libgtk2.0-bin on
    uim-gtk2.0.
  - debian/uim-gtk2.0.post{inst,rm}: Removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
SSCM=src/sscm
 
4
 
 
5
if test "x$1" != "x"; then
 
6
  while test "$#" -ne 0; do
 
7
    $SSCM "$1"
 
8
    shift
 
9
  done
 
10
  exit 0
 
11
fi
 
12
 
 
13
run_test () {
 
14
    echo "Running test $1..."
 
15
    $SSCM $1
 
16
    echo
 
17
}
 
18
 
 
19
echo "[ Run single ported tests ]"
 
20
for test in test/test-r4rs.scm #test/r5rs_pitfall_sscm.scm
 
21
do
 
22
  run_test $test
 
23
done
 
24
 
 
25
echo "[ Run tests ported from Bigloo]"
 
26
for test in test/bigloo-*.scm
 
27
do
 
28
  run_test $test
 
29
done
 
30
 
 
31
echo "[ Run tests ported from Gauche ]"
 
32
for test in test/gauche-*.scm
 
33
do
 
34
  run_test $test
 
35
done
 
36
 
 
37
echo "[ Run SigScheme tests ]"
 
38
for test in `ls test/test-*.scm | egrep -v 'test-(tail-rec|r4rs)\.scm'`
 
39
do
 
40
  run_test $test
 
41
done
 
42
 
 
43
echo "Run also runtest-tail-rec.sh for proper tail recursions."