gnu: grub: Don't run tests when cross compiling.
* gnu/packages/bootloaders.scm (grub)[arguments]: Skip tests when cross-compiling.
This commit is contained in:
		
							parent
							
								
									4ef38c806d
								
							
						
					
					
						commit
						66f769122f
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		|  | @ -150,10 +150,11 @@ | ||||||
|                         (("test_unset grub_func_test") |                         (("test_unset grub_func_test") | ||||||
|                           "test_unset")) |                           "test_unset")) | ||||||
|                       #t))) |                       #t))) | ||||||
|        ;; Disable tests on ARM and AARCH64 platforms. |        ;; Disable tests on ARM and AARCH64 platforms or when cross-compiling. | ||||||
|        #:tests? ,(not (any (cute string-prefix? <> (or (%current-target-system) |        #:tests? ,(not (or (any (cute string-prefix? <> (or (%current-target-system) | ||||||
|                                                            (%current-system))) |                                                            (%current-system))) | ||||||
|                            '("arm" "aarch64"))))) |                                '("arm" "aarch64")) | ||||||
|  |                           (%current-target-system))))) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("gettext" ,gettext-minimal) |      `(("gettext" ,gettext-minimal) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Reference in a new issue