summaryrefslogtreecommitdiffstats
path: root/support/testing/tests/fs/test_yaffs2.py
diff options
context:
space:
mode:
Diffstat (limited to 'support/testing/tests/fs/test_yaffs2.py')
-rw-r--r--support/testing/tests/fs/test_yaffs2.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/support/testing/tests/fs/test_yaffs2.py b/support/testing/tests/fs/test_yaffs2.py
new file mode 100644
index 0000000000..0ffb758083
--- /dev/null
+++ b/support/testing/tests/fs/test_yaffs2.py
@@ -0,0 +1,12 @@
+import os
+
+import infra.basetest
+
+class TestYaffs2(infra.basetest.BRTest):
+ config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
+ infra.basetest.MINIMAL_CONFIG + \
+ "BR2_TARGET_ROOTFS_YAFFS2=y"
+
+ def test_run(self):
+ img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
+ self.assertTrue(os.path.exists(img))
OpenPOWER on IntegriCloud