python: Honor '--cores=...' in tests.
* gnu/packages/python.scm (python-2.7)[arguments]: Add #:make-flags.
This commit is contained in:
		
							parent
							
								
									421ec86532
								
							
						
					
					
						commit
						5b01b6034a
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue