test_yaffs2.py 371 B

123456789101112131415
  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. """
  7. BR2_TARGET_ROOTFS_YAFFS2=y
  8. """
  9. def test_run(self):
  10. img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
  11. self.assertTrue(os.path.exists(img))