]> granicus.if.org Git - esp-idf/commit
fatfs: run same fatfs tests for WL and SDMMC
authorIvan Grokhotkov <ivan@espressif.com>
Thu, 4 May 2017 08:48:44 +0000 (16:48 +0800)
committerIvan Grokhotkov <ivan@espressif.com>
Fri, 5 May 2017 07:21:38 +0000 (15:21 +0800)
commit4e3ea66ec45f0283cbe082615058fc35242e75bc
tree91714bed391678bae4e59273bef0e2ce7d3b7b44
parenta428af8c9f5adcd33b0c12439a9430e5a3393615
fatfs: run same fatfs tests for WL and SDMMC

This change moves actual test code into test_fatfs_common.c and
refactors setup/teardown code to be contained within separate functions.
For each SDMMC FATFS test, identical test is added which can run with
WL partition in flash.
components/fatfs/test/test_fatfs.c [deleted file]
components/fatfs/test/test_fatfs_common.c [new file with mode: 0644]
components/fatfs/test/test_fatfs_common.h [new file with mode: 0644]
components/fatfs/test/test_fatfs_sdmmc.c [new file with mode: 0644]
components/fatfs/test/test_fatfs_spiflash.c [new file with mode: 0644]