From b6455a36c2e4f23ae086d2c550f327fa21efcc3d Mon Sep 17 00:00:00 2001 From: Christopher Haster Date: Fri, 22 Sep 2017 10:41:44 -0500 Subject: [PATCH] Brought over additional testing configurations from littlefs --- .travis.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c816766c6..361fc20fa4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,17 +6,21 @@ script: - PYTHONPATH=mbed-os python mbed-os/tools/make.py -t GCC_ARM -m K82F --source=. --build=BUILD/K82F/GCC_ARM -j0 - # Run local littlefs tests - - CFLAGS=" - -DLFS_READ_SIZE=64 - -DLFS_PROG_SIZE=64 - -Wno-error=format" - make -Clittlefs test - - CFLAGS=" - -DLFS_READ_SIZE=512 - -DLFS_PROG_SIZE=512 - -Wno-error=format" - make -Clittlefs test + # Run littlefs functional tests + - CFLAGS="-Wno-error=format" make -Clittlefs test + + # Run littlefs functional tests with different configurations + # Note: r/w size of 64 is default in mbed + - CFLAGS="-Wno-error=format -DLFS_READ_SIZE=64 -DLFS_PROG_SIZE=64" + make -Clittlefs test + - CFLAGS="-Wno-error=format -DLFS_READ_SIZE=1 -DLFS_PROG_SIZE=1" + make -Clittlefs test + - CFLAGS="-Wno-error=format -DLFS_READ_SIZE=512 -DLFS_PROG_SIZE=512" + make -Clittlefs test + - CFLAGS="-Wno-error=format -DLFS_BLOCK_COUNT=1023" + make -Clittlefs test + - CFLAGS="-Wno-error=format -DLFS_LOOKAHEAD=2047" + make -Clittlefs test install: # Get arm-none-eabi-gcc