tests/extmod/vfs_lfs_ilistdir_del.py: Skip test if not enough memory.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -71,5 +71,10 @@ def test(bdev, vfs_class):
|
||||
fs.open("/test", "w").close()
|
||||
|
||||
|
||||
bdev = RAMBlockDevice(30)
|
||||
try:
|
||||
bdev = RAMBlockDevice(30)
|
||||
except MemoryError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
test(bdev, vfs.VfsLfs2)
|
||||
|
||||
Reference in New Issue
Block a user