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 ()
30 local uc_applet=$(echo $applet | tr a-z A-Z)
31 local testname=$(basename $testcase)
33 if grep -q "^# CONFIG_${uc_applet} is not set$" ../.config; then
34 show_result UNTESTED $testname
38 if grep -q "^# FEATURE: " $testcase; then
39 local feature=`sed -ne 's/^# FEATURE: //p' $testcase`
41 if grep -q "^# ${feature} is not set$" ../.config; then
42 show_result UNTESTED $testname
47 if grep -q "^# XFAIL$" $testcase; then
54 if . ../$testcase >/dev/null 2>&1; then
55 show_result ${X}PASS $testname
58 show_result ${X}FAIL $testname
74 for testcase in $applet/*; do
75 if [ "$testcase" = "$applet/CVS" ]; then
79 if run_applet_testcase $applet $testcase; then
92 if [ x"$1" = x"-v" ]; then
103 for applet in $applets; do
104 if [ "$applet" != CVS -a -d "$applet" ]; then
105 if run_applet_tests $applet; then