~ubuntu-branches/ubuntu/wily/gargoyle-free/wily-proposed

« back to all changes in this revision

Viewing changes to tads/tads3/unix/test/test_make

  • Committer: Bazaar Package Importer
  • Author(s): Sylvain Beucler
  • Date: 2009-09-11 20:09:43 UTC
  • Revision ID: james.westby@ubuntu.com-20090911200943-idgzoyupq6650zpn
Tags: upstream-2009-08-25
ImportĀ upstreamĀ versionĀ 2009-08-25

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
# Make and execute tests
 
3
 
 
4
case "$1" in
 
5
    -nodef)
 
6
        shift
 
7
        t3make -test -I$T3_DAT -a -nodef -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1
 
8
        ;;
 
9
    -debug)
 
10
        shift
 
11
        t3make -test -d -I$T3_DAT -a -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1
 
12
        ;;
 
13
    -pre)
 
14
        shift
 
15
        t3make -test -I$T3_DAT -a -nobanner -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1
 
16
        ;;
 
17
    *)
 
18
        t3make -test -I$T3_DAT -a -nobanner -nopre -Fs $T3_DAT -Fo $T3_OUT -Fy $T3_OUT -o $T3_OUT/$1.t3 $2 $3 $4 $5 $6 $7 $8 $9 >$T3_OUT/$1.log 2>&1
 
19
        ;;
 
20
esac
 
21
 
 
22
echo "'Make' test: $1"
 
23
 
 
24
test_exec -cs cp437 $T3_OUT/$1.t3 >>$T3_OUT/$1.log 2>&1
 
25
test_diff $1
 
26
 
 
27
echo