guix-commits
[Top][All Lists]
Advanced

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

07/09: gnu: indi: Check slightly more functionally.


From: guix-commits
Subject: 07/09: gnu: indi: Check slightly more functionally.
Date: Tue, 4 May 2021 09:41:25 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 7f540e3ce0eecb1dedf18e51ac6b161a13a2c625
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Tue May 4 13:34:21 2021 +0200

    gnu: indi: Check slightly more functionally.
    
    * gnu/packages/astronomy.scm (indi)[arguments]: Substitute
    WITH-DIRECTORY-EXCURSION for double CHDIR.
---
 gnu/packages/astronomy.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index c55c4d8..0b54122 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -818,9 +818,8 @@ provide you with detailed information about each pass.")
        (modify-phases %standard-phases
          (replace  'check
            (lambda _
-             (chdir "test")
-             (invoke "ctest")
-             (chdir "..")
+             (with-directory-excursion "test"
+               (invoke "ctest"))
              #t))
          (add-before 'install 'set-install-directories
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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