Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2017-11-17 02:54:44 +0300
committerChristopher Haster <chaster@utexas.edu>2017-11-17 02:54:44 +0300
commit78c79ecb9e6b8dd0e7cfd7ac86934e43fb026924 (patch)
treef431bdaadc94bed31f52a0d86170e709eaaa1803
parentf9f4f5ccec410944121ca3aee904f2f904f33d45 (diff)
Added QUIET flag to tests so CI is readable
-rw-r--r--.travis.yml12
-rw-r--r--Makefile4
2 files changed, 10 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index 552f7cc..d673c15 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,13 +9,13 @@ script:
-include stdio.h -Werror' make all size
# run tests
- - make test
+ - make test QUIET=1
# run tests with a few different configurations
- - CFLAGS="-DLFS_READ_SIZE=1 -DLFS_PROG_SIZE=1" make test
- - CFLAGS="-DLFS_READ_SIZE=512 -DLFS_PROG_SIZE=512" make test
- - CFLAGS="-DLFS_BLOCK_COUNT=1023" make test
- - CFLAGS="-DLFS_LOOKAHEAD=2048" 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 QUIET=1
+ - CFLAGS="-DLFS_BLOCK_COUNT=1023" make test QUIET=1
+ - CFLAGS="-DLFS_LOOKAHEAD=2048" make test QUIET=1
# self-host with littlefs-fuse for fuzz test
- make -C littlefs-fuse
@@ -28,7 +28,7 @@ script:
- cp -r $(git ls-tree --name-only HEAD) mount/littlefs
- cd mount/littlefs
- ls
- - make -B test_dirs
+ - make -B test_dirs QUIET=1
before_install:
- fusermount -V
diff --git a/Makefile b/Makefile
index bd5bd90..2ef1287 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,11 @@ size: $(OBJ)
test: test_format test_dirs test_files test_seek test_parallel \
test_alloc test_paths test_orphan test_move test_corrupt
test_%: tests/test_%.sh
+ifdef QUIET
+ ./$< | sed '/^[^-=]/d'
+else
./$<
+endif
-include $(DEP)