Last change
on this file since 406 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
-
Property svn:executable
set to
*
|
File size:
498 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 | #
|
---|
3 | # Trivial debug script, display test case, compile and run, and display
|
---|
4 | # testcase again
|
---|
5 |
|
---|
6 | TESTFILE=${1-../tests/simple/correct1.p0}
|
---|
7 | PROG="./comp"
|
---|
8 | make
|
---|
9 | if [ $? -eq 0 ]; then
|
---|
10 | cat -n $TESTFILE
|
---|
11 | ARGS=" -w -O0 "
|
---|
12 | echo "===BEGIN Command: $PROG $ARGS < $TESTFILE==="
|
---|
13 | $PROG $ARGS < $TESTFILE
|
---|
14 | echo "===END Command: $PROG $ARGS < $TESTFILE==="
|
---|
15 | ARGS=" -w -O1 "
|
---|
16 | echo "===BEGIN Command: $PROG $ARGS < $TESTFILE==="
|
---|
17 | $PROG $ARGS < $TESTFILE
|
---|
18 | echo "===END Command: $PROG $ARGS < $TESTFILE==="
|
---|
19 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.