run_all.sh (target_run): Revert 2005-11-17 patch.

* ada/acats/run_all.sh (target_run): Revert 2005-11-17 patch.

From-SVN: r107190
This commit is contained in:
Eric Botcazou 2005-11-18 21:09:05 +00:00 committed by Eric Botcazou
parent a6a5de0428
commit 4c63a5845d
2 changed files with 5 additions and 18 deletions

View File

@ -1,3 +1,7 @@
2005-11-18 Eric Botcazou <ebotcazou@adacore.com>
* ada/acats/run_all.sh (target_run): Revert 2005-11-17 patch.
2005-11-18 Joseph S. Myers <joseph@codesourcery.com>
* g++.dg/cpp/string-2.C: New test.

View File

@ -12,25 +12,8 @@
gccflags="-O2"
gnatflags="-gnatws"
if [ "x$DEJAGNU_TIMEOUT" != "x" ]; then
timeout=$DEJAGNU_TIMEOUT
else
timeout=300
fi
target_run () {
sh -c "
(sleep $timeout && kill 2>/dev/null \$\$) &
watchdog=\$!
($*) &
child=\$!
trap \"kill 2>/dev/null \$child\" 0 1
wait \$child
status=\$?
trap \"\" 0 1
kill 2>/dev/null \$watchdog
exit \$status
"
$*
}
# End of customization section.