Lines Matching +full:- +full:- +full:native +full:- +full:file
3 # This file is part of elfutils.
5 # This file is free software; you can redistribute it and/or modify
19 . $srcdir/test-subr.sh
26 # the fixed test cases (run-allregs.sh et al) to test that backend
29 tempfiles native.c native
31 > native.c
33 native=0
36 test $native -eq 0 || {
37 kill -9 $native 2> /dev/null || :
38 wait $native 2> /dev/null || :
40 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
71 testrun "$@" -e $1 > /dev/null
73 # Try the build against a presumed native process, running this sh.
75 testrun "$@" -p $$ > /dev/null
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.