gnu: gnunet: Disable flaky tests.
* gnu/packages/gnunet.scm (gnunet) [arguments]: Add a disable-problematic-tests phase.
This commit is contained in:
		
							parent
							
								
									2d4b61d014
								
							
						
					
					
						commit
						ee0de79b1e
					
				
					 1 changed files with 11 additions and 0 deletions
				
			
		| 
						 | 
					@ -315,6 +315,17 @@ supports HTTP, HTTPS and GnuTLS.")
 | 
				
			||||||
      #:parallel-tests? #f              ;parallel tests aren't supported
 | 
					      #:parallel-tests? #f              ;parallel tests aren't supported
 | 
				
			||||||
      #:phases
 | 
					      #:phases
 | 
				
			||||||
      #~(modify-phases %standard-phases
 | 
					      #~(modify-phases %standard-phases
 | 
				
			||||||
 | 
					          (add-after 'unpack 'disable-problematic-tests
 | 
				
			||||||
 | 
					            (lambda _
 | 
				
			||||||
 | 
					              (substitute* "src/cadet/Makefile.in"
 | 
				
			||||||
 | 
					                ;; The speed_reliable tests appear to be unreliable (see:
 | 
				
			||||||
 | 
					                ;; https://bugs.gnunet.org/view.php?id=7787).
 | 
				
			||||||
 | 
					                (("test_cadet_[0-9]+_speed_reliable\\$\\(EXEEXT)")
 | 
				
			||||||
 | 
					                 ""))
 | 
				
			||||||
 | 
					              (substitute* "src/core/Makefile.in"
 | 
				
			||||||
 | 
					                ;; The 'test_core_api' test fails non-deterministically (see:
 | 
				
			||||||
 | 
					                ;; https://bugs.gnunet.org/view.php?id=7784).
 | 
				
			||||||
 | 
					                (("test_core_api\\$\\(EXEEXT) ") ""))))
 | 
				
			||||||
          (add-before 'check 'set-env-var-for-tests
 | 
					          (add-before 'check 'set-env-var-for-tests
 | 
				
			||||||
            (lambda _
 | 
					            (lambda _
 | 
				
			||||||
              (setenv "LANG" "en_US.UTF-8")))
 | 
					              (setenv "LANG" "en_US.UTF-8")))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue