OSDN Git Service

2005-04-18 Laurent GUERBY <laurent@guerby.net>
authorguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 17:32:56 +0000 (17:32 +0000)
committerguerby <guerby@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 Apr 2005 17:32:56 +0000 (17:32 +0000)
* ada/acats/run_all.sh: Use sync when executable not present.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98335 138bc75d-0d04-0410-961f-82ee72b054a4

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

index d469720..8ca1eb0 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 b317aa7..402ff69 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