gnu: julia-finitedifferences: Fix tests on i686-linux.
* gnu/packages/julia-xyz (julia-finitedifferences)[arguments]<#:phases>: Conditionnally disable the failing test. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
		
							parent
							
								
									2a749f34e5
								
							
						
					
					
						commit
						a31a4517b6
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -1683,6 +1683,17 @@ types and sparsity.")
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "09nsf9cgk49yrvprflnhd9h5rrgs280rgj8sad3csghxdx6jqk5c"))))
 | 
					        (base32 "09nsf9cgk49yrvprflnhd9h5rrgs280rgj8sad3csghxdx6jqk5c"))))
 | 
				
			||||||
    (build-system julia-build-system)
 | 
					    (build-system julia-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     `(#:phases
 | 
				
			||||||
 | 
					       ,@(if (target-x86-32?)
 | 
				
			||||||
 | 
					           '((modify-phases %standard-phases
 | 
				
			||||||
 | 
					               (add-after 'unpack 'remove-failing-test-i686
 | 
				
			||||||
 | 
					                 (lambda _
 | 
				
			||||||
 | 
					                   ;; Machine Precision incorrectly handled
 | 
				
			||||||
 | 
					                   (substitute* "test/methods.jl"
 | 
				
			||||||
 | 
					                     (("@test central_fdm\\(15, 5, adapt=2\\)\\(exp, 1.0\\)")
 | 
				
			||||||
 | 
					                      "@test_broken central_fdm(15, 5, adapt=2)(exp, 1.0)"))))))
 | 
				
			||||||
 | 
					           '(%standard-phases))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("julia-benchmarktools" ,julia-benchmarktools)))
 | 
					     `(("julia-benchmarktools" ,julia-benchmarktools)))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue