guix-commits
[Top][All Lists]
Advanced

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

branch master updated: tests: Conditionally include tests/go.scm.


From: guix-commits
Subject: branch master updated: tests: Conditionally include tests/go.scm.
Date: Sat, 15 May 2021 08:44:15 -0400

This is an automated email from the git hooks/post-receive script.

apteryx pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 38d337a  tests: Conditionally include tests/go.scm.
38d337a is described below

commit 38d337a5b749713b34568ee55ad747522f26ef94
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri May 14 21:12:05 2021 -0400

    tests: Conditionally include tests/go.scm.
    
    The Go importer module requires a recent guile-glib; the test should only be
    run when such requirement is met.
    
    * Makefile.am (SCM_TESTS)[HAVE_GUILE_LIB]: Add tests/go.scm only if this
    condition is met.
    
    Reported-by: Chris Marusich <cmmarusich@gmail.com>
---
 Makefile.am | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 4cbef5a..e688e21 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -461,7 +461,6 @@ SCM_TESTS =                                 \
   tests/git-authenticate.scm                   \
   tests/glob.scm                               \
   tests/gnu-maintenance.scm                    \
-  tests/go.scm                                 \
   tests/grafts.scm                             \
   tests/graph.scm                              \
   tests/gremlin.scm                            \
@@ -510,6 +509,10 @@ SCM_TESTS =                                        \
   tests/uuid.scm                               \
   tests/workers.scm
 
+if HAVE_GUILE_LIB
+SCM_TESTS += tests/go.scm
+endif
+
 if BUILD_DAEMON_OFFLOAD
 SCM_TESTS  += tests/offload.scm
 else



reply via email to

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