unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
blob e89890093eaed51b4ef34d11f897df7dda6bf767 568 bytes (raw)
name: gnu/packages/patches/genometools-fix-testsuite.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
diff --git a/testsuite/testsuite.rb b/testsuite/testsuite.rb
index fcda4a8..f5e3906 100755
--- a/testsuite/testsuite.rb
+++ b/testsuite/testsuite.rb
@@ -127,9 +127,10 @@ def with_environment(variables={})
 end
 
 def python_tests_runnable?
-  if `which python`.empty? then
-    return false
-  end
+  return false unless
+    ENV['PATH'].split(File::PATH_SEPARATOR).any? do |directory|
+      File.executable?(File.join(directory, "python"))
+    end
   require "open3"
   runline = "python #{$gtpython}/gt/dlload.py"
   with_environment({"PYTHONPATH" => $gtpython, \

debug log:

solving e898900 ...
found e898900 in https://yhetil.org/guix-devel/1455461782-24162-2-git-send-email-justus@gnupg.org/ ||
	https://yhetil.org/guix-devel/1455472171-7237-1-git-send-email-justus@gnupg.org/

applying [1/1] https://yhetil.org/guix-devel/1455461782-24162-2-git-send-email-justus@gnupg.org/
diff --git a/gnu/packages/patches/genometools-fix-testsuite.patch b/gnu/packages/patches/genometools-fix-testsuite.patch
new file mode 100644
index 0000000..e898900

1:13: trailing whitespace.
 
Checking patch gnu/packages/patches/genometools-fix-testsuite.patch...
Applied patch gnu/packages/patches/genometools-fix-testsuite.patch cleanly.
warning: 1 line adds whitespace errors.

skipping https://yhetil.org/guix-devel/1455472171-7237-1-git-send-email-justus@gnupg.org/ for e898900
index at:
100644 e89890093eaed51b4ef34d11f897df7dda6bf767	gnu/packages/patches/genometools-fix-testsuite.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).