Lines Matching +full:local +full:- +full:dir
4 LTP_C_API_TESTS="${LTP_C_API_TESTS:-test05 test07 test09 test12 test15 test18
9 LTP_SHELL_API_TESTS="${LTP_SHELL_API_TESTS:-shell/tst_check_driver.sh
10 shell/tst_check_kconfig0[1-5].sh shell/net/*.sh}"
20 Usage: $0 [-b DIR ] [-c|-s]
21 -b DIR build directory (required for out-of-tree build)
22 -c run C API tests only
23 -s run shell API tests only
24 -h print this help
42 if [ $# -eq 0 ]; then
47 local res="$1"
51 local color=$?
61 local res="$1"
65 local mask=$?
75 local target="$1"
76 local srcdir="$2"
77 local dir i res ret=0 tbrok tconf tfail tpass twarn vars
85 if [ -f "$i" ]; then
86 dir="."
87 elif [ "$srcdir" -a -f "$srcdir/$i" ]; then
88 dir="$srcdir"
93 $dir/$i 1>&2
96 [ $res -ne 0 -a $res -ne 32 ] && ret=1
104 …127) runtest_brk TBROK "Error: file not found (wrong PATH? out-of-tree build without -b?), exit co…
111 runtest_res TINFO "$(echo $tpass | wc -w)x TPASS:$tpass"
112 runtest_res TINFO "$(echo $tfail | wc -w)x TFAIL:$tfail"
113 runtest_res TINFO "$(echo $tbrok | wc -w)x TBROK:$tbrok"
114 runtest_res TINFO "$(echo $twarn | wc -w)x TWARN:$twarn"
115 runtest_res TINFO "$(echo $tconf | wc -w)x TCONF:$tconf"
123 local ret srcdir="$PWD"
147 local target="$1"
148 local res="$2"
151 if [ -z "$res" ]; then
153 elif [ $res -eq 0 ]; then
177 if [ -z "$run" -o "$run" = "c" ]; then
182 if [ -z "$run" -o "$run" = "s" ]; then