chiark / gitweb /
Test suite: debpolicy-quilt-gbp: New test
[dgit.git] / tests / lib-build-modes
index 05c415cac725e87fdc993598fe39a8db7fc1a56a..007eaf226b222c70815eae81c6bac558617a9f03 100644 (file)
@@ -65,11 +65,13 @@ bm-quirk-sbuild-after-act () {
        # provide sbuild with the dsc, not the tree, so we simply
        # ignore all executions of the clean target by schroot.
        local arch=$(dpkg-architecture -qDEB_BUILD_ARCH)
-       local sblog=../example_1.0_$arch.build
+       local sblog=../example_${v}_$arch.build
        if [ -e $sblog ]; then
                sed '
                        s/^EXAMPLE RULES TARGET clean/HOOK SUPPRESSED &/;
                ' <$sblog >>$bmlog
+       else
+               echo "SBUILD LOG FILE ($sblog) MISSING"
        fi
 }
 
@@ -139,7 +141,7 @@ bm-run-one () {
        git checkout $branch
        git clean -xdf # since we might not do any actual cleaning
 
-       dsc='../example_1.0.dsc'
+       dsc="../example_$v.dsc"
        rm -f $dsc
 
        set +o pipefail