3 PATH=$(dirname $(pwd)):$PATH
11 if [ $resolution = XPASS -o $resolution = FAIL ]; then
15 if [ "$verbose" -o $status -eq 1 ]; then
16 echo "$resolution: $testcase"
22 run_applet_testcase ()
31 local uc_applet=$(echo $applet | tr a-z A-Z)
32 local testname=$(basename $testcase)
34 if grep -q "^# CONFIG_${uc_applet} is not set$" ../.config; then
35 show_result UNTESTED $testname
39 if grep -q "^# FEATURE: " $testcase; then
40 local feature=`sed -ne 's/^# FEATURE: //p' $testcase`
42 if grep -q "^# ${feature} is not set$" ../.config; then
43 show_result UNTESTED $testname
48 if grep -q "^# XFAIL$" $testcase; then
56 sh -x -e ../$testcase >.logfile.txt 2>&1
59 show_result ${X}FAIL $testname
60 if [ "$verbose" == 1 ]; then
66 show_result ${X}PASS $testname
83 for testcase in $applet/*; do
84 if [ "$testcase" = "$applet/CVS" ]; then
88 if run_applet_testcase $applet $testcase; then
101 if [ x"$1" = x"-v" ]; then
106 if [ $# -ne 0 ]; then
112 for applet in $applets; do
113 if [ "$applet" != CVS -a -d "$applet" ]; then
114 if run_applet_tests $applet; then