diff options
author | Laurent GUERBY <laurent@guerby.net> | 2005-04-18 17:32:56 +0000 |
---|---|---|
committer | Laurent Guerby <guerby@gcc.gnu.org> | 2005-04-18 17:32:56 +0000 |
commit | ac75c44b9ca4e626f6942930028e4020cfde7090 (patch) | |
tree | ba976bde8b76dc6afdbb3f35a86c798a84918fde /gcc/testsuite/ada | |
parent | e3df2571314c17175ce7b029c319817914ef0306 (diff) | |
download | gcc-ac75c44b9ca4e626f6942930028e4020cfde7090.zip gcc-ac75c44b9ca4e626f6942930028e4020cfde7090.tar.gz gcc-ac75c44b9ca4e626f6942930028e4020cfde7090.tar.bz2 |
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
Diffstat (limited to 'gcc/testsuite/ada')
-rwxr-xr-x | gcc/testsuite/ada/acats/run_all.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/ada/acats/run_all.sh b/gcc/testsuite/ada/acats/run_all.sh index b317aa7..402ff69 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 |