testsuite fixes

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Chris Metcalf
2010-04-02 09:57:27 +02:00
committed by Denys Vlasenko
parent 37201213ca
commit 208d35d21f
4 changed files with 16 additions and 4 deletions

View File

@ -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"