summaryrefslogtreecommitdiff
path: root/gcc/testsuite/ada
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-13 11:48:46 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2004-01-13 11:48:46 +0000
commit708f6f12397a72cf087f064ed2f59f6fa1f4ffe9 (patch)
treee01aeb33b290a81696d7c1861ec0d8764b39c3cc /gcc/testsuite/ada
parent85a5ddb1043cad3e2eb600bc590ea06d70b7eeb5 (diff)
downloadgcc-708f6f12397a72cf087f064ed2f59f6fa1f4ffe9.tar.gz
Add extra checks.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@75801 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/ada')
-rwxr-xr-xgcc/testsuite/ada/acats/run_all.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh
index 78d6071f343..d11c6d7ee8f 100755
--- a/gcc/testsuite/ada/acats/run_all.sh
+++ b/gcc/testsuite/ada/acats/run_all.sh
@@ -191,8 +191,15 @@ for chapter in $chapters; do
extraflags="$extraflags -gnatE"
fi
test=$dir/tests/$chapter/$i
- mkdir $test
- cd $test
+ mkdir $test && cd $test >> $dir/acats.log 2>&1
+
+ if [ $? -ne 0 ]; then
+ display "FAIL: $i"
+ failed="${failed}${i} "
+ clean_dir
+ continue
+ fi
+
target_gnatchop -c -w `ls ${test}*.a ${test}*.ada ${test}*.adt ${test}*.am ${test}*.dep 2> /dev/null` >> $dir/acats.log 2>&1
ls ${i}?.adb > ${i}.lst 2> /dev/null
ls ${i}*m.adb >> ${i}.lst 2> /dev/null