瀏覽代碼

tests: Run without substitutes.

* tests/builders.scm, tests/derivations.scm, tests/packages.scm: Set
  #:use-substitutes? #f for %STORE.
gn-latest-20200428
Ludovic Courtès 8 年之前
父節點
當前提交
81dbd783bd
共有 3 個檔案被更改,包括 11 行新增0 行删除
  1. +4
    -0
      tests/builders.scm
  2. +3
    -0
      tests/derivations.scm
  3. +4
    -0
      tests/packages.scm

+ 4
- 0
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.


+ 3
- 0
tests/derivations.scm 查看文件

@@ -39,6 +39,9 @@
(false-if-exception (open-connection)))

(when %store
;; Make sure we build everything by ourselves.
(set-build-options %store #:use-substitutes? #f)

;; By default, use %BOOTSTRAP-GUILE for the current system.
(let ((drv (package-derivation %store %bootstrap-guile)))
(%guile-for-build drv)))


+ 4
- 0
tests/packages.scm 查看文件

@@ -35,6 +35,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 GNU Make and GNU Diffutils.


Loading…
取消
儲存