Skip to content

Commit 55c04aa

Browse files
author
Amanda Butler
authored
Add test command to BlockDevice.md
Add command about porting tests.
1 parent 743aee4 commit 55c04aa

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/porting/storage/BlockDevice.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,10 @@ You can run BlockDevice tests for heap, MBR and util block devices with the foll
4242
mbed test -t <toolchain> -m <target> -n features-tests-filesystem-*_block_device
4343
```
4444

45+
You can run BlockDevice tests without the file system with the following command:
46+
47+
```
48+
mbed test -t <toolchain> -m <target> -n mbed-os-features-storage-tests-blockdevice-general_block_device -v
49+
```
50+
4551
One way to add tests for new block devices is to copy an existing implementation, such as HeapBlockDevice, and change the block device class to your own. You can find tests under the top level `TESTS` folder in the Mbed OS repository.

0 commit comments

Comments
 (0)