Skip to content

Commit 004ffe8

Browse files
author
Amanda Butler
authored
Merge pull request #853 from ARMmbed/AnotherButler-patch-3
Add test command to BlockDevice.md
2 parents 37a1b34 + 55c04aa commit 004ffe8

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)