python: Honor '--cores=...' in tests.

* gnu/packages/python.scm (python-2.7)[arguments]: Add #:make-flags.
master
Eric Bavier 2018-11-01 21:18:41 -05:00
parent 421ec86532
commit 5b01b6034a
No known key found for this signature in database
GPG Key ID: FD73CAC719D32566
1 changed files with 3 additions and 0 deletions

View File

@ -190,6 +190,9 @@
"--enable-unicode=ucs4"
(string-append "LDFLAGS=-Wl,-rpath="
(assoc-ref %outputs "out") "/lib"))
;; With no -j argument tests use all available cpus, so provide one.
#:make-flags
(list (format #f "EXTRATESTOPTS=-j~d" (parallel-job-count)))
#:modules ((ice-9 ftw) (ice-9 match)
(guix build utils) (guix build gnu-build-system))