run_all.sh: Use sync when executable not present.
authorLaurent GUERBY <laurent@guerby.net>
Mon, 18 Apr 2005 17:32:56 +0000 (17:32 +0000)
committerLaurent Guerby <guerby@gcc.gnu.org>
Mon, 18 Apr 2005 17:32:56 +0000 (17:32 +0000)
2005-04-18  Laurent GUERBY  <laurent@guerby.net>

* ada/acats/run_all.sh: Use sync when executable not present.

From-SVN: r98335

gcc/testsuite/ChangeLog
gcc/testsuite/ada/acats/run_all.sh

index d4697206f3fbe76eca0023b3c42aaa4ccbc1a62d..8ca1eb0beadd95d3ba1f9ce5dbd5b6e31b0bb828 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-18  Laurent GUERBY  <laurent@guerby.net>
+
+       * ada/acats/run_all.sh: Use sync when executable not present.
+       
 2005-04-18  Devang Patel  <dpatel@apple.com>
 
        * gcc.dg/vect/vect-11.c: Require effective target vect_int_mult.
index b317aa73f4ccfc01e4871263c5f767c2e401ca41..402ff69cb30713102c22a27ab151d8ab48e47fc6 100755 (executable)
@@ -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