diff options
| -rw-r--r-- | tests/ChangeLog | 4 | ||||
| -rwxr-xr-x | tests/run-native-test.sh | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/tests/ChangeLog b/tests/ChangeLog index 4cc42b85..2b51b5c2 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2005-12-14 Roland McGrath <[email protected]> + + * run-native-test.sh: Redirect output from native test process. + 2005-12-13 Roland McGrath <[email protected]> * allregs.c (main): Fail if we find no registers. diff --git a/tests/run-native-test.sh b/tests/run-native-test.sh index c9126c61..d8202146 100755 --- a/tests/run-native-test.sh +++ b/tests/run-native-test.sh @@ -35,7 +35,7 @@ trap native_cleanup 0 1 2 15 for cc in "$HOSTCC" "$HOST_CC" cc gcc "$CC"; do test "x$cc" != x || continue $cc -o native -g native.c > /dev/null 2>&1 && - ./native & native=$! && + ./native > /dev/null 2>&1 & native=$! && sleep 1 && kill -0 $native 2> /dev/null && break || native=0 |
