From: Laurent GUERBY Date: Mon, 18 Apr 2005 17:32:56 +0000 (+0000) Subject: run_all.sh: Use sync when executable not present. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac75c44b9ca4e626f6942930028e4020cfde7090;p=gcc.git run_all.sh: Use sync when executable not present. 2005-04-18 Laurent GUERBY * ada/acats/run_all.sh: Use sync when executable not present. From-SVN: r98335 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index d4697206f3f..8ca1eb0bead 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-04-18 Laurent GUERBY + + * ada/acats/run_all.sh: Use sync when executable not present. + 2005-04-18 Devang Patel * gcc.dg/vect/vect-11.c: Require effective target vect_int_mult. diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh index b317aa73f4c..402ff69cb30 100755 --- a/gcc/testsuite/ada/acats/run_all.sh +++ b/gcc/testsuite/ada/acats/run_all.sh @@ -256,6 +256,9 @@ for chapter in $chapters; do echo "RUN $binmain" >> $dir/acats.log cd $dir/run + if [ ! -x $dir/tests/$chapter/$i/$binmain ]; then + sync + fi target_run $dir/tests/$chapter/$i/$binmain > $dir/tests/$chapter/$i/${i}.log 2>&1 cd $dir/tests/$chapter/$i cat ${i}.log >> $dir/acats.log