chiark / gitweb /
Test suite: build-modes tests: Do extra clean mode tests with build-source
[dgit.git] / tests / lib-build-modes
index 5daf3bf..879bc01 100644 (file)
@@ -26,6 +26,10 @@ END
        else
                        dpkgbuildpackage_deps_for_clean=false
        fi
        else
                        dpkgbuildpackage_deps_for_clean=false
        fi
+
+       cleanmodes_default="git none dpkg-source dpkg-source-d"
+       cleanmodes_all="$cleanmodes_default git-ff check"
+       cleanmodes="$cleanmodes_default"
 }
 
 bm-guess-e-source-e-targets () {
 }
 
 bm-guess-e-source-e-targets () {
@@ -144,8 +148,7 @@ bm-run-one () {
 }
 
 bm-act-iterate () {
 }
 
 bm-act-iterate () {
-       for cleanmode in git none dpkg-source dpkg-source-d; do
-       # git-ff check removed because they're really very similar
+       for cleanmode in $cleanmodes; do
                for branch in indep-arch bad-build-deps; do
                        bm-run-one
                done
                for branch in indep-arch bad-build-deps; do
                        bm-run-one
                done