Commit 4c63a584 by Eric Botcazou Committed by Eric Botcazou

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
parent a6a5de04
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.
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment