Home | History | Annotate | Download | only in tests

Lines Matching refs:native

37 tempfiles native.c native
38 echo 'main () { while (1) pause (); }' > native.c
40 native=0
43 test $native -eq 0 || {
44 kill -9 $native 2> /dev/null || :
45 wait $native 2> /dev/null || :
47 native=0
60 $cc -o native -g native.c > /dev/null 2>&1 &&
62 { ./native > /dev/null 2>&1 & native=$! ; } &&
63 sleep 1 && kill -0 $native 2> /dev/null &&
65 native=0
73 # Try the build against a presumed native process, running this sh.
77 # Try the build against the trivial native program we just built with -g.
78 test $native -eq 0 || testrun "$@" -p $native > /dev/null
86 # $native when we do the kill inside the exit handler.