[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/184: gnu: john-the-ripper-jumbo: Enable tests.
From: |
guix-commits |
Subject: |
75/184: gnu: john-the-ripper-jumbo: Enable tests. |
Date: |
Wed, 27 Nov 2019 14:37:03 -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
- 49/184: gnu: gnome-maps: Update to 3.32.2.1., (continued)
- 49/184: gnu: gnome-maps: Update to 3.32.2.1., guix-commits, 2019/11/27
- 48/184: gnu: gnome-klotski: Update to 3.32.0., guix-commits, 2019/11/27
- 52/184: gnu: yelp: Update to 3.32.2., guix-commits, 2019/11/27
- 53/184: gnu: gnome-session: Update to 3.32.0., guix-commits, 2019/11/27
- 55/184: gnu: file-roller: Update to 3.32.2., guix-commits, 2019/11/27
- 57/184: gnu: python-dbusmock: Update to 0.18.3., guix-commits, 2019/11/27
- 59/184: gnu: pipewire: Update to 0.2.7., guix-commits, 2019/11/27
- 64/184: gnu: linux-libre@4.4: Update to 4.4.199., guix-commits, 2019/11/27
- 65/184: gnu: linux-libre@4.9: Update to 4.9.199., guix-commits, 2019/11/27
- 72/184: gnu: eolie: Don't create icon cache., guix-commits, 2019/11/27
- 75/184: gnu: john-the-ripper-jumbo: Enable tests.,
guix-commits <=
- 76/184: gnu: git-annex: Update to 7.20191106., guix-commits, 2019/11/27
- 77/184: derivations: Use a regular hash table for the module cache., guix-commits, 2019/11/27
- 74/184: gnu: john-the-ripper-jumbo: Update to 1.9.0., guix-commits, 2019/11/27
- 81/184: news: Add entry for package transformation options in "guix graph"., guix-commits, 2019/11/27
- 80/184: graph: Support package transformation options., guix-commits, 2019/11/27
- 84/184: doc: Add clarification on the '--source' build option., guix-commits, 2019/11/27
- 89/184: gnu: python-dbus: Update to 1.2.10., guix-commits, 2019/11/27
- 82/184: gnu: Add nginx Accept Language module., guix-commits, 2019/11/27
- 91/184: gnu: libssh: Update to 0.9.2., guix-commits, 2019/11/27
- 93/184: gnu: polybar: Update to 3.4.1., guix-commits, 2019/11/27