mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 16:14:16 +01:00 
			
		
		
		
	Fixed pipefail issue that was preventing CI from reporting errors
This commit is contained in:
		
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -11,6 +11,8 @@ ASM := $(SRC:.c=.s) | |||||||
|  |  | ||||||
| TEST := $(patsubst tests/%.sh,%,$(wildcard tests/test_*)) | TEST := $(patsubst tests/%.sh,%,$(wildcard tests/test_*)) | ||||||
|  |  | ||||||
|  | SHELL = /bin/bash -o pipefail | ||||||
|  |  | ||||||
| ifdef DEBUG | ifdef DEBUG | ||||||
| CFLAGS += -O0 -g3 | CFLAGS += -O0 -g3 | ||||||
| else | else | ||||||
| @@ -35,7 +37,7 @@ test: test_format test_dirs test_files test_seek test_parallel \ | |||||||
| 	test_alloc test_paths test_orphan test_move test_corrupt | 	test_alloc test_paths test_orphan test_move test_corrupt | ||||||
| test_%: tests/test_%.sh | test_%: tests/test_%.sh | ||||||
| ifdef QUIET | ifdef QUIET | ||||||
| 	./$< | sed '/^[^-=]/d' | 	./$< | sed -n '/^[-=]/p' | ||||||
| else | else | ||||||
| 	./$< | 	./$< | ||||||
| endif | endif | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user