tests: Disable grafts when comparing derivations.
Fixes a regression introduced with the grafting of Patch in 3f11f01
.
* tests/packages.scm ("reference to non-existent output"): Wrap in
'parameterize'.
This commit is contained in:
parent
c9323a4c69
commit
862abf8fcd
|
@ -270,6 +270,7 @@
|
||||||
|
|
||||||
(test-assert "reference to non-existent output"
|
(test-assert "reference to non-existent output"
|
||||||
;; See <http://bugs.gnu.org/19630>.
|
;; See <http://bugs.gnu.org/19630>.
|
||||||
|
(parameterize ((%graft? #f))
|
||||||
(let* ((dep (dummy-package "dep"))
|
(let* ((dep (dummy-package "dep"))
|
||||||
(p (dummy-package "p"
|
(p (dummy-package "p"
|
||||||
(inputs `(("dep" ,dep "non-existent"))))))
|
(inputs `(("dep" ,dep "non-existent"))))))
|
||||||
|
@ -277,7 +278,7 @@
|
||||||
(and (string=? (derivation-missing-output c) "non-existent")
|
(and (string=? (derivation-missing-output c) "non-existent")
|
||||||
(equal? (package-derivation %store dep)
|
(equal? (package-derivation %store dep)
|
||||||
(derivation-error-derivation c)))))
|
(derivation-error-derivation c)))))
|
||||||
(package-derivation %store p))))
|
(package-derivation %store p)))))
|
||||||
|
|
||||||
(test-assert "trivial"
|
(test-assert "trivial"
|
||||||
(let* ((p (package (inherit (dummy-package "trivial"))
|
(let* ((p (package (inherit (dummy-package "trivial"))
|
||||||
|
|
Loading…
Reference in New Issue