source:
kBuild/vendor/sed/current/testsuite/runtest
Last change on this file was 599, checked in by , 18 years ago | |
---|---|
File size: 366 bytes |
Line | |
---|---|
1 | #! /bin/sh |
2 | |
3 | : ${MAKE=make} |
4 | : ${srcdir=.} |
5 | : ${SED="../sed/sed"} |
6 | |
7 | makefile="$srcdir/Makefile.tests" |
8 | test=`echo "$@"| sed 's,.*/,,'` |
9 | |
10 | # As a convenience, suppress the output of make if the test passes |
11 | if $MAKE SED="$SED" srcdir="$srcdir" -f "$makefile" $test > tmp.test 2>&1; then |
12 | rm -f tmp.test |
13 | else |
14 | exitcode=$? |
15 | cat tmp.test |
16 | rm -f tmp.test |
17 | exit $exitcode |
18 | fi |
Note:
See TracBrowser
for help on using the repository browser.