run_all.sh: Use sync when executable not present.

2005-04-18  Laurent GUERBY  <laurent@guerby.net>

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

From-SVN: r98335
This commit is contained in:
Laurent GUERBY 2005-04-18 17:32:56 +00:00 committed by Laurent Guerby
parent e3df257131
commit ac75c44b9c
2 changed files with 7 additions and 0 deletions

View 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.

View File

@ -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