test_yaffs2.py 356 B

123456789101112
  1. import os
  2. import infra.basetest
  3. class TestYaffs2(infra.basetest.BRTest):
  4. config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
  5. infra.basetest.MINIMAL_CONFIG + \
  6. "BR2_TARGET_ROOTFS_YAFFS2=y"
  7. def test_run(self):
  8. img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
  9. self.assertTrue(os.path.exists(img))