chiark / gitweb /
test suite: lib-build-modes: Honour $cleanmodes_dpkgsource_extra
[dgit.git] / tests / lib-build-modes
index 6c0908f2fc1f22ca48260f956ba166a5d7cbbd16..232d322e139fe983b3a730be15b7f80e717dd2f1 100644 (file)
@@ -34,7 +34,9 @@ bm-prep () {
                        dpkgbuildpackage_deps_for_clean=false
        fi
 
-       cleanmodes_default="git none dpkg-source dpkg-source-d"
+       cleanmodes_default="git none"
+       cleanmodes_default+=" dpkg-source$cleanmodes_dpkgsource_extra"
+       cleanmodes_default+=" dpkg-source-d$cleanmodes_dpkgsource_extra"
        cleanmodes_all="$cleanmodes_default git-ff check"
        cleanmodes="$cleanmodes_default"
 }