summaryrefslogtreecommitdiff
path: root/tests/challenge.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-04-04 21:59:25 +0200
committerLudovic Courtès <ludo@gnu.org>2018-11-12 23:37:13 +0100
commit9ed86fe175c15c819d6d86681c8136ff6bc927c0 (patch)
tree15403c26a4048013764c36f40d7e97d5d0066b7d /tests/challenge.scm
parente740a902281bb3bde369cc04f26656de608d3614 (diff)
downloadpatches-9ed86fe175c15c819d6d86681c8136ff6bc927c0.tar
patches-9ed86fe175c15c819d6d86681c8136ff6bc927c0.tar.gz
tests: Add 'test-assertm' to (guix tests).
* guix/tests.scm (test-assertm): New macro. * tests/gexp.scm (test-assertm): Remove. * tests/profiles.scm (test-assertm): Remove. * tests/challenge.scm (%store, test-assertm): Remove. * tests/debug-link.scm (%store, test-assertm): Remove. * tests/size.scm (%store, test-assertm): Remove.
Diffstat (limited to 'tests/challenge.scm')
-rw-r--r--tests/challenge.scm8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/challenge.scm b/tests/challenge.scm
index 4b13ec278e..c962800f3f 100644
--- a/tests/challenge.scm
+++ b/tests/challenge.scm
@@ -31,17 +31,9 @@
#:use-module (rnrs bytevectors)
#:use-module (ice-9 match))
-(define %store
- (open-connection-for-tests))
-
(define query-path-hash*
(store-lift query-path-hash))
-(define-syntax-rule (test-assertm name exp)
- (test-assert name
- (run-with-store %store exp
- #:guile-for-build (%guile-for-build))))
-
(define* (call-with-derivation-narinfo* drv thunk hash)
(lambda (store)
(with-derivation-narinfo drv (sha256 => hash)