gnu: grub: Disable a flaky test.
* gnu/packages/bootloaders.scm (grub)[arguments]: Add 'disable-flaky-test' phase and run the tests in parallel.
This commit is contained in:
		
							parent
							
								
									052d9c01d9
								
							
						
					
					
						commit
						23a53a95f1
					
				
					 1 changed files with 9 additions and 5 deletions
				
			
		|  | @ -91,11 +91,15 @@ | ||||||
|                      ;; Make the font visible. |                      ;; Make the font visible. | ||||||
|                      (copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz") |                      (copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz") | ||||||
|                      (system* "gunzip" "unifont.bdf.gz") |                      (system* "gunzip" "unifont.bdf.gz") | ||||||
|                      #t))) |                      #t)) | ||||||
| 
 |                   (add-before 'check 'disable-flaky-test | ||||||
|        ;; We suspect there are race conditions when running tests in parallel: |                     (lambda _ | ||||||
|        ;; <https://bugs.gnu.org/26936>. |                       ;; This test is unreliable. For more information, see: | ||||||
|        #:parallel-tests? #f)) |                       ;; <https://bugs.gnu.org/26936>. | ||||||
|  |                       (substitute* "Makefile.in" | ||||||
|  |                         (("grub_cmd_date grub_cmd_set_date grub_cmd_sleep") | ||||||
|  |                           "grub_cmd_date grub_cmd_sleep")) | ||||||
|  |                       #t))))) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("gettext" ,gettext-minimal) |      `(("gettext" ,gettext-minimal) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue