diff options
Diffstat (limited to 'testsuite/runtest')
-rwxr-xr-x | testsuite/runtest | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/testsuite/runtest b/testsuite/runtest index 5ddf07d..c300233 100755 --- a/testsuite/runtest +++ b/testsuite/runtest @@ -26,10 +26,12 @@ run_applet_testcase() if grep "^# FEATURE: " "$testcase" >/dev/null; then local feature=$(sed -ne 's/^# FEATURE: //p' "$testcase") - if grep "^# $feature is not set$" "$bindir/.config" >/dev/null; then - echo "UNTESTED: $testname" - return 0 - fi + for f in $feature; do + if grep "^# $f is not set$" "$bindir/.config" >/dev/null; then + echo "UNTESTED: $testname" + return 0 + fi + done fi rm -rf ".tmpdir.$applet" |