[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: libyajl: Actually run test suite.
From: |
Efraim Flashner |
Subject: |
01/01: gnu: libyajl: Actually run test suite. |
Date: |
Tue, 10 Jul 2018 15:23:49 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 532126e92e3c46581d588654bd83a8f0c1491f60
Author: Efraim Flashner <address@hidden>
Date: Tue Jul 10 22:16:14 2018 +0300
gnu: libyajl: Actually run test suite.
* gnu/packages/web.scm (libyajl)[arguments]: Patch shebang in test suite.
---
gnu/packages/web.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 3d83a21..06d0fec 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -10,7 +10,7 @@
;;; Copyright © 2015 Eric Dvorsak <address@hidden>
;;; Copyright © 2016 Sou Bunnbu <address@hidden>
;;; Copyright © 2016 Jelle Licht <address@hidden>
-;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2017, 2018 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Rene Saavedra <address@hidden>
;;; Copyright © 2016 Ben Woodcroft <address@hidden>
;;; Copyright © 2016 Clément Lassieur <address@hidden>
@@ -752,6 +752,14 @@ style API.")
(base32
"0nmcqpaiq4pv7dymyg3n3jsd57yhp5npxl26a1hzw3m3lmj37drz"))))
(build-system cmake-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'patch-source-shebangs 'patch-tests
+ (lambda _
+ (substitute* "test/parsing/run_tests.sh"
+ (("`which echo`") (which "echo")))
+ #t)))))
(home-page "https://lloyd.github.io/yajl/")
(synopsis "C library for parsing JSON")
(description