Skip to content

Commit b6455a3

Browse files
committed
Brought over additional testing configurations from littlefs
1 parent 37edc35 commit b6455a3

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.travis.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,21 @@ script:
66
- PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K82F
77
--source=. --build=BUILD/K82F/GCC_ARM -j0
88

9-
# Run local littlefs tests
10-
- CFLAGS="
11-
-DLFS_READ_SIZE=64
12-
-DLFS_PROG_SIZE=64
13-
-Wno-error=format"
14-
make -Clittlefs test
15-
- CFLAGS="
16-
-DLFS_READ_SIZE=512
17-
-DLFS_PROG_SIZE=512
18-
-Wno-error=format"
19-
make -Clittlefs test
9+
# Run littlefs functional tests
10+
- CFLAGS="-Wno-error=format" make -Clittlefs test
11+
12+
# Run littlefs functional tests with different configurations
13+
# Note: r/w size of 64 is default in mbed
14+
- CFLAGS="-Wno-error=format -DLFS_READ_SIZE=64 -DLFS_PROG_SIZE=64"
15+
make -Clittlefs test
16+
- CFLAGS="-Wno-error=format -DLFS_READ_SIZE=1 -DLFS_PROG_SIZE=1"
17+
make -Clittlefs test
18+
- CFLAGS="-Wno-error=format -DLFS_READ_SIZE=512 -DLFS_PROG_SIZE=512"
19+
make -Clittlefs test
20+
- CFLAGS="-Wno-error=format -DLFS_BLOCK_COUNT=1023"
21+
make -Clittlefs test
22+
- CFLAGS="-Wno-error=format -DLFS_LOOKAHEAD=2047"
23+
make -Clittlefs test
2024

2125
install:
2226
# Get arm-none-eabi-gcc

0 commit comments

Comments
 (0)