mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 00:32:38 +01:00 
			
		
		
		
	Added dir tests, test fixes, config
This commit is contained in:
		
							
								
								
									
										8
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								Makefile
									
									
									
									
									
								
							| @@ -9,7 +9,7 @@ OBJ := $(SRC:.c=.o) | ||||
| DEP := $(SRC:.c=.d) | ||||
| ASM := $(SRC:.c=.s) | ||||
|  | ||||
| TEST := $(wildcard tests/test_*) | ||||
| TEST := $(patsubst tests/%.sh,%,$(wildcard tests/test_*)) | ||||
|  | ||||
| ifdef DEBUG | ||||
| CFLAGS += -O0 -g3 | ||||
| @@ -30,8 +30,10 @@ asm: $(ASM) | ||||
| size: $(OBJ) | ||||
| 	$(SIZE) -t $^ | ||||
|  | ||||
| test: | ||||
| 	for t in $(TEST) ; do ./$$t ; done | ||||
| .SUFFIXES: | ||||
| test: $(TEST) | ||||
| test_%: tests/test_%.sh | ||||
| 	./$< | ||||
|  | ||||
| -include $(DEP) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user