OSDN Git Service

* ada/acats/run_all.sh (target_run): Revert 2005-11-17 patch.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 21:09:05 +0000 (21:09 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Nov 2005 21:09:05 +0000 (21:09 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@107190 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 96230fc..002b28b 100644 (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.
index caaf56b..402ff69 100755 (executable)
 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.