diff options
Diffstat (limited to 'test_harness_cc')
-rwxr-xr-x | test_harness_cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test_harness_cc b/test_harness_cc index da58b78d3a..01157a5307 100755 --- a/test_harness_cc +++ b/test_harness_cc @@ -1,4 +1,5 @@ #!/bin/sh +cwd=`pwd` if [ -f bperl ]; then perl=./bperl else @@ -10,5 +11,5 @@ do $perl -MO=CC,-obtest.tc $pl \ && mv btest.tc btest.c \ && $perl cc_harness -O2 -o btest btest.c\ - && ./btest + && (cd t; $cwd/btest) done |