summaryrefslogtreecommitdiff
path: root/tests/builders.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-11-02 22:38:52 +0100
committerLudovic Courtès <ludo@gnu.org>2012-11-02 22:38:52 +0100
commit81dbd783bd9afabd1d8720c9b60a6a93492bb581 (patch)
tree3b99899c497958cc608d9889c77b11f4696e9517 /tests/builders.scm
parent0afdc48532ea7d8eea32b3e3b78ba3832e7f18b2 (diff)
downloadpatches-81dbd783bd9afabd1d8720c9b60a6a93492bb581.tar
patches-81dbd783bd9afabd1d8720c9b60a6a93492bb581.tar.gz
tests: Run without substitutes.
* tests/builders.scm, tests/derivations.scm, tests/packages.scm: Set #:use-substitutes? #f for %STORE.
Diffstat (limited to 'tests/builders.scm')
-rw-r--r--tests/builders.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/builders.scm b/tests/builders.scm
index 8d2d75aa7f..d79603f7da 100644
--- a/tests/builders.scm
+++ b/tests/builders.scm
@@ -34,6 +34,10 @@
(define %store
(false-if-exception (open-connection)))
+(when %store
+ ;; Make sure we build everything by ourselves.
+ (set-build-options %store #:use-substitutes? #f))
+
(define %bootstrap-inputs
;; Use the bootstrap inputs so it doesn't take ages to run these tests.
;; This still involves building Make, Diffutils, and Findutils.