deptest: --force also overrides blacklist stamps

SVN-Revision: 23827
lede-17.01
Michael Büsch 2010-11-03 15:18:53 +00:00
parent ae6b08d22b
commit 55081c6a19
1 changed files with 2 additions and 2 deletions

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
}