gnu: go-github.com-jtolds-gls: Skip tests with gccgo.
* gnu/packages/golang.scm (go-github.com-ktolds-gls)[arguments]: Don't run the test suite when building with gccgo.
This commit is contained in:
		
							parent
							
								
									25494265b2
								
							
						
					
					
						commit
						54da48e2ce
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2439,7 +2439,16 @@ termination.")
 | 
			
		|||
                "1k7xd2q2ysv2xsh373qs801v6f359240kx0vrl0ydh7731lngvk6"))))
 | 
			
		||||
    (build-system go-build-system)
 | 
			
		||||
    (arguments
 | 
			
		||||
     '(#:import-path "github.com/jtolds/gls"))
 | 
			
		||||
     (list
 | 
			
		||||
       #:import-path "github.com/jtolds/gls"
 | 
			
		||||
       #:phases
 | 
			
		||||
       #~(modify-phases %standard-phases
 | 
			
		||||
           (replace 'check
 | 
			
		||||
             (lambda* (#:key inputs #:allow-other-keys #:rest args)
 | 
			
		||||
               (unless
 | 
			
		||||
                 ;; The tests fail when run with gccgo.
 | 
			
		||||
                 (false-if-exception (search-input-file inputs "/bin/gccgo"))
 | 
			
		||||
                 (apply (assoc-ref %standard-phases 'check) args)))))))
 | 
			
		||||
    (synopsis "@code{gls} provides Goroutine local storage")
 | 
			
		||||
    (description
 | 
			
		||||
     "The @code{gls} package provides a way to store a retrieve values
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue