aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/ada
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2004-01-13 12:48:46 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-01-13 12:48:46 +0100
commit0115e4700b7956d1a125fe88114989cc173e293e (patch)
treee01aeb33b290a81696d7c1861ec0d8764b39c3cc /gcc/testsuite/ada
parent5640461d2f585cd08286f1ffb1ce41e9e88435d4 (diff)
downloadgcc-0115e4700b7956d1a125fe88114989cc173e293e.zip
gcc-0115e4700b7956d1a125fe88114989cc173e293e.tar.gz
gcc-0115e4700b7956d1a125fe88114989cc173e293e.tar.bz2
Add extra checks.
From-SVN: r75801
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 78d6071..d11c6d7 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