diff options
author | behdad <behdad> | 2001-03-07 16:15:13 +0000 |
---|---|---|
committer | behdad <behdad> | 2001-03-07 16:15:13 +0000 |
commit | c0ec5c311f024b945e6c8143273164524781983d (patch) | |
tree | 0e352828c2a780e4eba8ad10e3e0d7d19cdbfa52 /conformance | |
parent | 0c6d0ab32f45f785f44f6cb0ea90ff53f85cac7a (diff) |
Some dead codes removed, some parts rewritten, bitfields used for char
types.
Diffstat (limited to 'conformance')
-rwxr-xr-x | conformance/dotest | 4 | ||||
-rwxr-xr-x | conformance/findbad | 6 | ||||
-rwxr-xr-x | conformance/findbads | 4 | ||||
-rwxr-xr-x | conformance/test | 2 |
4 files changed, 11 insertions, 5 deletions
diff --git a/conformance/dotest b/conformance/dotest index 6524257..76b8cbb 100755 --- a/conformance/dotest +++ b/conformance/dotest @@ -1,7 +1,9 @@ #!/bin/sh # Generate and test a single test data. -path=`dirname $0` +path=`dirname $(which $0)` + +trap 'rm -f $path/test.{in,out,ref} &> /dev/null ; exit' INT if ! test -f "$path/test_gen_rand"; then gcc -o $path/test_gen_rand $path/test_gen_rand.c diff --git a/conformance/findbad b/conformance/findbad index cda7fd4..4848a53 100755 --- a/conformance/findbad +++ b/conformance/findbad @@ -1,8 +1,10 @@ #!/bin/sh # Find a single nonconforming test. -# First command line parameter is the lenght of test in bytes, default is 10. +# First command line parameter is the length of test in bytes, default is 10. -path=`dirname $0` +path=`dirname $(which $0)` + +trap 'echo; rm -f $path/test.{in,out,ref} &> /dev/null ; exit' INT while ! test "`$path/dotest $1`"; do echo -n .; done shift diff --git a/conformance/findbads b/conformance/findbads index f933318..b30fa61 100755 --- a/conformance/findbads +++ b/conformance/findbads @@ -2,7 +2,9 @@ # Generate and test single tests, and archive the nonconforming ones. # First command line parameter is the lenght of test in bytes, default is 10. -path=`dirname $0` +path=`dirname $(which $0)` + +trap 'rm -f $path/test.{in,out,ref} &> /dev/null ; exit' INT while true; do $path/findbad $@ diff --git a/conformance/test b/conformance/test index 0bb14ad..6a1d194 100755 --- a/conformance/test +++ b/conformance/test @@ -3,7 +3,7 @@ # use -debug switch to see the debug info into stderr. # use -clean to remove explicit marks before doing diff. -path=`dirname $0` +path=`dirname $(which $0)` if ! test -f "$path/reference/bidiref"; then gcc -o $path/reference/bidiref $path/reference/bidiref.cpp |