gnu: ghc: Disable failing test on i686
Conditionally, so we don’t rebuild GHC on amd64. * gnu/packages/haskell.scm (ghc-9.2)[arguments]: Conditionally add phase 'skip-T21694-i686.
This commit is contained in:
		
							parent
							
								
									29a278f65c
								
							
						
					
					
						commit
						086e426d20
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1296,7 +1296,16 @@ interactive environment for the functional language Haskell.")
 | 
			
		|||
             (replace 'fix-cc-reference
 | 
			
		||||
               (lambda _
 | 
			
		||||
                 (substitute* "utils/hsc2hs/src/Common.hs"
 | 
			
		||||
                   (("\"cc\"") "\"gcc\""))))))
 | 
			
		||||
                   (("\"cc\"") "\"gcc\""))))
 | 
			
		||||
             ;; FIXME: Remove i686-specific match on the next rebuild cycle.
 | 
			
		||||
             #$@(match (%current-system)
 | 
			
		||||
                  ("i686-linux"
 | 
			
		||||
                    #~((add-after 'skip-more-tests 'skip-T21694-i686
 | 
			
		||||
                        (lambda _
 | 
			
		||||
                          (substitute* '("testsuite/tests/simplCore/should_compile/all.T")
 | 
			
		||||
                            (("^test\\('T21694', \\[ " all)
 | 
			
		||||
                             (string-append all "when(arch('i386'), skip), ")))))))
 | 
			
		||||
                  (_ #~()))))
 | 
			
		||||
         ;; Increase verbosity, so running the test suite does not time out on CI.
 | 
			
		||||
         ((#:make-flags make-flags ''())
 | 
			
		||||
          #~(cons "VERBOSE=4" #$make-flags))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue