guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/08: tests: Hide quoted (define-module ...) form from Geiser.


From: guix-commits
Subject: 01/08: tests: Hide quoted (define-module ...) form from Geiser.
Date: Mon, 25 May 2020 17:40:53 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit e033700f17660ff936936cf89cc557b95d12bb13
Author: Ludovic Courtès <address@hidden>
AuthorDate: Mon May 25 16:04:33 2020 +0200

    tests: Hide quoted (define-module ...) form from Geiser.
    
    * tests/gexp.scm (%extension-package): Split (define-module ...) form to
    fool Geiser.
---
 tests/gexp.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/gexp.scm b/tests/gexp.scm
index e073a7b..20ef8d2 100644
--- a/tests/gexp.scm
+++ b/tests/gexp.scm
@@ -78,7 +78,8 @@
                         (mkdir-p out)
                         (call-with-output-file (string-append out "/hg2g.scm")
                           (lambda (port)
-                            (write '(define-module (hg2g)
+                            (define defmod 'define-module) ;fool Geiser
+                            (write `(,defmod (hg2g)
                                       #:export (the-answer))
                                    port)
                             (write '(define the-answer 42) port)))))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]