[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/182: gnu: john-the-ripper-jumbo: Enable tests.
From: |
guix-commits |
Subject: |
75/182: gnu: john-the-ripper-jumbo: Enable tests. |
Date: |
Fri, 15 Nov 2019 00:01:41 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit b2bb5cf496e1e412cd52a387ed1a1ea0e08dd929
Author: Eric Bavier <address@hidden>
Date: Sun Oct 27 22:24:57 2019 -0500
gnu: john-the-ripper-jumbo: Enable tests.
* gnu/packages/password-utils.scm (john-the-ripper-jumbo)[arguments]: Remove
'#:tests? #f'. Add 'check' phase after 'install'.
---
gnu/packages/password-utils.scm | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 955a1a4..bfd3c25 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -775,7 +775,6 @@ between hosts and entries in the password store.")
(string-prefix? "i686" system)) "sse2")
((string-prefix? "aarch" system) "neon")
(else "no")))))
- #:tests? #f ;tests try to create '.john' in the build user's $HOME
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir-src
@@ -821,7 +820,13 @@ between hosts and entries in the password store.")
(find-files "." ".*\\.conf")))
(copy-recursively "rules" (string-append datadir "/rules")))
(copy-recursively "../doc" docdir)
- #t))))))
+ #t)))
+ (delete 'check) ; Tests need installed .conf files; move after
install
+ (add-after 'install 'check
+ (lambda args
+ (setenv "HOME" "/tmp") ; Some tests need to write to ~/.john
+ (setenv "OMP_NUM_THREADS" (number->string (parallel-job-count)))
+ (apply (assoc-ref %standard-phases 'check) args))))))
(home-page "http://www.openwall.com/john/")
(synopsis "Password cracker")
(description "John the Ripper is a fast password cracker. Its primary
- 62/182: gnu: network-manager: Update to 1.18.4., (continued)
- 62/182: gnu: network-manager: Update to 1.18.4., guix-commits, 2019/11/15
- 61/182: gnu: python-pyatspi: Update to 2.34.0., guix-commits, 2019/11/15
- 65/182: gnu: linux-libre@4.9: Update to 4.9.199., guix-commits, 2019/11/15
- 68/182: gnu: linux-libre: Update to 5.3.9., guix-commits, 2019/11/15
- 64/182: gnu: linux-libre@4.4: Update to 4.4.199., guix-commits, 2019/11/15
- 67/182: gnu: linux-libre@4.19: Update to 4.19.82., guix-commits, 2019/11/15
- 66/182: gnu: linux-libre@4.14: Update to 4.14.152., guix-commits, 2019/11/15
- 72/182: gnu: eolie: Don't create icon cache., guix-commits, 2019/11/15
- 71/182: gnu: eog: Don't create icon cache., guix-commits, 2019/11/15
- 76/182: gnu: git-annex: Update to 7.20191106., guix-commits, 2019/11/15
- 75/182: gnu: john-the-ripper-jumbo: Enable tests.,
guix-commits <=
- 78/182: gnu: commencement: Ensure 'gnu-make-final' refers to the native 'pkg-config'., guix-commits, 2019/11/15
- 77/182: derivations: Use a regular hash table for the module cache., guix-commits, 2019/11/15
- 80/182: graph: Support package transformation options., guix-commits, 2019/11/15
- 74/182: gnu: john-the-ripper-jumbo: Update to 1.9.0., guix-commits, 2019/11/15
- 81/182: news: Add entry for package transformation options in "guix graph"., guix-commits, 2019/11/15
- 86/182: gnu: libdvdnav: Don't use NAME in source URI., guix-commits, 2019/11/15
- 89/182: gnu: python-dbus: Update to 1.2.10., guix-commits, 2019/11/15
- 47/182: gnu: ghex: Update to 3.18.4., guix-commits, 2019/11/15
- 63/182: gnu: modem-manager: Update to 1.10.8., guix-commits, 2019/11/15
- 69/182: gnu: gnome-disk-utility: Don't create icon cache., guix-commits, 2019/11/15