chiark / gitweb /
Put --no-arch-all in build-modes-sbuild act, not only its real_act
[dgit.git] / tests / lib
index e81a62ad3dd381f438c39d2435e64280db39eba6..9308b169e9636d8440956c965b1f819203ce6279 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -5,10 +5,11 @@ set -x
 set -o pipefail
 
 . tests/lib-core
+. tests/lib-restricts
 
 t-set-intree
 
-: ${DGIT_TEST_DEBUG:=-D}
+: ${DGIT_TEST_DEBUG=-D}
 export DGIT_TEST_DEBUG
 
 root=`pwd`
@@ -596,6 +597,15 @@ t-policy-periodic () {
                test-dummy $drs_dispatch '' --cron
 }
 
+t-restrict () {
+       local restriction=$1
+       (cd $root; t-restriction-$restriction >&2)
+}
+
+t-dependencies () {
+       : "Hopefully installed: $*"
+}
+
 t-chain-test () {
        local ct=$1
        local d=${0%/*}