deptest: --force also overrides blacklist stamps

SVN-Revision: 23827
v19.07.3_mercusys_ac12_duma
Michael Büsch 14 years ago
parent ae6b08d22b
commit 55081c6a19

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

Loading…
Cancel
Save