Lines Matching +full:native +full:- +full:test
19 . $srcdir/test-subr.sh
23 # this test if it is missing parts of the backend implementation.
25 # As new backend code is added to satisfy the test, be sure to update
26 # the fixed test cases (run-allregs.sh et al) to test that backend
29 tempfiles native.c native
30 echo 'main () { while (1) pause (); }' > native.c
32 native=0
35 test $native -eq 0 || {
36 kill -9 $native 2> /dev/null || :
37 wait $native 2> /dev/null || :
39 native=0
58 test "x$cc" != x || continue
59 $cc -o native -g native.c > /dev/null 2>&1 &&
61 { ./native > /dev/null 2>&1 & native=$! ; } &&
62 sleep 1 && kill -0 $native 2> /dev/null &&
64 native=0
70 testrun "$@" -e $1 > /dev/null
72 # Try the build against a presumed native process, running this sh.
73 # For tests requiring debug information, this may not test anything.
74 testrun "$@" -p $$ > /dev/null
76 # Try the build against the trivial native program we just built with -g.
77 test $native -eq 0 || testrun "$@" -p $native > /dev/null
85 # $native when we do the kill inside the exit handler.