deptest: --force also overrides blacklist stamps
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Nov 2010 15:18:53 +0000 (15:18 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Wed, 3 Nov 2010 15:18:53 +0000 (15:18 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23827 3c298f89-4303-0410-b956-a3cf2f4a3e73

scripts/deptest.sh

index 4a3fd78..953cdbf 100755 (executable)
@@ -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
        }
This page took 0.029982 seconds and 4 git commands to generate.