deptest: --force also overrides blacklist stamps

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23827 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Michael Büsch
2010-11-03 15:18:53 +00:00
parent a1b02b7ee0
commit 208df9da51

View File

@@ -36,7 +36,7 @@ usage()
echo "OPTIONS:"
echo " --lean Run a lean test. Do not clean the build directory for each"
echo " package test."
echo " --force Force a test, even if a success stamp is available"
echo " --force Force a test, even if a success/blacklist stamp is available"
echo
echo "PACKAGES are packages to test. If not specified, all installed packages"
echo "will be tested."
@@ -61,7 +61,7 @@ test_package() # $1=pkgname
echo "Package $pkg is not selected"
return
}
[ -f "$STAMP_BLACKLIST" ] && {
[ -f "$STAMP_BLACKLIST" -a $force -eq 0 ] && {
echo "Package $pkg is blacklisted"
return
}