1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-30 17:24:03 +02:00

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:
mb 2010-11-03 15:18:53 +00:00
parent e1fe0dfb0c
commit c588a703fe

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
}