mirror of
				https://github.com/eledio-devices/thirdparty-littlefs.git
				synced 2025-10-31 08:42:40 +01:00 
			
		
		
		
	Added QUIET flag to tests so CI is readable
This commit is contained in:
		
							
								
								
									
										12
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -9,13 +9,13 @@ script: | |||||||
|         -include stdio.h -Werror' make all size |         -include stdio.h -Werror' make all size | ||||||
|  |  | ||||||
|     # run tests |     # run tests | ||||||
|     - make test |     - make test QUIET=1 | ||||||
|  |  | ||||||
|     # run tests with a few different configurations |     # run tests with a few different configurations | ||||||
|     - CFLAGS="-DLFS_READ_SIZE=1   -DLFS_PROG_SIZE=1"   make test |     - CFLAGS="-DLFS_READ_SIZE=1   -DLFS_PROG_SIZE=1"   make test QUIET=1 | ||||||
|     - CFLAGS="-DLFS_READ_SIZE=512 -DLFS_PROG_SIZE=512" make test |     - CFLAGS="-DLFS_READ_SIZE=512 -DLFS_PROG_SIZE=512" make test QUIET=1 | ||||||
|     - CFLAGS="-DLFS_BLOCK_COUNT=1023" make test |     - CFLAGS="-DLFS_BLOCK_COUNT=1023" make test QUIET=1 | ||||||
|     - CFLAGS="-DLFS_LOOKAHEAD=2048"   make test |     - CFLAGS="-DLFS_LOOKAHEAD=2048"   make test QUIET=1 | ||||||
|  |  | ||||||
|     # self-host with littlefs-fuse for fuzz test |     # self-host with littlefs-fuse for fuzz test | ||||||
|     - make -C littlefs-fuse |     - make -C littlefs-fuse | ||||||
| @@ -28,7 +28,7 @@ script: | |||||||
|     - cp -r $(git ls-tree --name-only HEAD) mount/littlefs |     - cp -r $(git ls-tree --name-only HEAD) mount/littlefs | ||||||
|     - cd mount/littlefs |     - cd mount/littlefs | ||||||
|     - ls |     - ls | ||||||
|     - make -B test_dirs |     - make -B test_dirs QUIET=1 | ||||||
|  |  | ||||||
| before_install: | before_install: | ||||||
|     - fusermount -V |     - fusermount -V | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @@ -34,7 +34,11 @@ size: $(OBJ) | |||||||
| test: test_format test_dirs test_files test_seek test_parallel \ | 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 | ||||||
|  | 	./$< | sed '/^[^-=]/d' | ||||||
|  | else | ||||||
| 	./$< | 	./$< | ||||||
|  | endif | ||||||
|  |  | ||||||
| -include $(DEP) | -include $(DEP) | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user