2017-03-20 21:36:52 +01:00
|
|
|
import os
|
|
|
|
|
|
|
|
import infra.basetest
|
|
|
|
|
2017-10-05 23:42:09 +02:00
|
|
|
|
2017-03-20 21:36:52 +01:00
|
|
|
class TestYaffs2(infra.basetest.BRTest):
|
|
|
|
config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
|
2017-10-05 23:42:08 +02:00
|
|
|
infra.basetest.MINIMAL_CONFIG + \
|
|
|
|
"""
|
|
|
|
BR2_TARGET_ROOTFS_YAFFS2=y
|
|
|
|
"""
|
2017-03-20 21:36:52 +01:00
|
|
|
|
|
|
|
def test_run(self):
|
|
|
|
img = os.path.join(self.builddir, "images", "rootfs.yaffs2")
|
|
|
|
self.assertTrue(os.path.exists(img))
|