Home
last modified time | relevance | path

Searched refs:infra (Results 1 – 25 of 135) sorted by relevance

123456

/OK3568_Linux_fs/buildroot/support/testing/tests/fs/
H A Dtest_iso9660.py3 import infra.basetest
25 """.format(infra.filepath("conf/minimal-x86-qemu-kernel.config"))
54 class TestIso9660Grub2External(infra.basetest.BRTest):
63 """.format(infra.filepath("conf/grub2.cfg"))
74 class TestIso9660Grub2ExternalCompress(infra.basetest.BRTest):
84 """.format(infra.filepath("conf/grub2.cfg"))
95 class TestIso9660Grub2Internal(infra.basetest.BRTest):
104 """.format(infra.filepath("conf/grub2.cfg"))
115 class TestIso9660Grub2EFI(infra.basetest.BRTest):
126 """.format(infra.filepath("conf/grub2-efi.cfg"),
[all …]
H A Dtest_ext.py3 import infra.basetest
17 ret = infra.run_cmd_on_host(builddir, cmd)
40 class TestExt2(infra.basetest.BRTest):
41 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
60 class TestExt2r1(infra.basetest.BRTest):
61 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
81 class TestExt3(infra.basetest.BRTest):
82 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
101 class TestExt4(infra.basetest.BRTest):
102 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
H A Dtest_f2fs.py3 import infra.basetest
13 class TestF2FS(infra.basetest.BRTest):
14 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
27 """.format(infra.filepath("conf/f2fs-kernel-fragment.config"))
31 out = infra.run_cmd_on_host(self.builddir, ["host/sbin/dump.f2fs", img])
39 dtb = infra.download(self.downloaddir, "vexpress-v2p-ca9.dtb")
H A Dtest_squashfs.py3 import infra.basetest
6 class TestSquashfs(infra.basetest.BRTest):
7 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
16 out = infra.run_cmd_on_host(self.builddir, unsquashfs_cmd)
23 infra.img_round_power2(img)
H A Dtest_ubi.py4 import infra.basetest
7 class TestUbi(infra.basetest.BRTest):
8 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
19 infra.filepath("tests/fs/test_ubi/ubinize_qemu_pflash_cfi01.cfg"))
23 out = infra.run_cmd_on_host(self.builddir, ["file", img])
H A Dtest_yaffs2.py3 import infra.basetest
6 class TestYaffs2(infra.basetest.BRTest):
7 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
8 infra.basetest.MINIMAL_CONFIG + \
H A Dtest_jffs2.py3 import infra.basetest
14 class TestJffs2(infra.basetest.BRTest):
15 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
33 out = infra.run_cmd_on_host(self.builddir, cmd)
/OK3568_Linux_fs/buildroot/support/testing/tests/core/
H A Dtest_bad_arch.py1 import infra
2 import infra.basetest
5 class DetectBadArchTest(infra.basetest.BRConfigTest):
6 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + infra.basetest.MINIMAL_CONFIG
7 br2_external = [infra.filepath("tests/core/br2-external/detect-bad-arch")]
12 logf_path = infra.log_file_path(self.b.builddir, "build",
13 infra.basetest.BRConfigTest.logtofile)
H A Dtest_rootfs_overlay.py4 import infra.basetest
11 class TestRootfsOverlay(infra.basetest.BRTest):
13 rootfs_overlay_path = infra.filepath("tests/core/rootfs-overlay")
15 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
16 infra.basetest.MINIMAL_CONFIG + \
H A Dtest_post_scripts.py4 import infra.basetest
7 class TestPostScripts(infra.basetest.BRTest):
8 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
17 """.format(infra.filepath("tests/core/post-build.sh"),
18 infra.filepath("tests/core/post-fakeroot.sh"),
19 infra.filepath("tests/core/post-image.sh"))
H A Dtest_file_capabilities.py3 import infra.basetest
6 class TestFileCapabilities(infra.basetest.BRTest):
25 """.format(infra.filepath("tests/core/device_table2.txt"),
26 infra.filepath("tests/core/squashfs-xattr-kernel.config"))
30 infra.img_round_power2(img)
H A Dtest_timezone.py3 import infra.basetest
13 class TestNoTimezone(infra.basetest.BRTest):
14 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
29 class TestGlibcAllTimezone(infra.basetest.BRTest):
51 class TestGlibcNonDefaultLimitedTimezone(infra.basetest.BRTest):
H A Dtest_selinux.py3 import infra.basetest
6 class TestSELinuxInfra(infra.basetest.BRTest):
7 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG +\
44 """.format(infra.filepath("tests/core/test_selinux/extra_modules"))
67 br2_external = [infra.filepath("tests/core/test_selinux/br2_external")]
/OK3568_Linux_fs/buildroot/support/testing/tests/utils/
H A Dtest_check_package.py13 import infra
41 WITH_UTILS_IN_PATH = {"PATH": infra.basepath("utils") + ":" + os.environ["PATH"]}
84 abs_script = infra.basepath(base_script)
85 abs_file = infra.basepath(base_file)
86 cwd = infra.basepath(rel_cwd)
114 self.WITH_EMPTY_PATH, infra.basepath())
118 self.WITH_EMPTY_PATH, infra.basepath())
124 abs_script = infra.basepath(base_script)
125 abs_file = infra.basepath(base_file)
126 cwd = infra.basepath(rel_cwd)
[all …]
/OK3568_Linux_fs/buildroot/support/testing/tests/boot/
H A Dtest_syslinux.py1 import infra.basetest
4 class TestSysLinuxBase(infra.basetest.BRTest):
51 infra.basetest.MINIMAL_CONFIG + \
61 infra.basetest.MINIMAL_CONFIG + \
71 infra.basetest.MINIMAL_CONFIG + \
81 infra.basetest.MINIMAL_CONFIG + \
/OK3568_Linux_fs/buildroot/support/testing/tests/package/
H A Dtest_gdb.py2 import infra.basetest
5 class BaseGdb(infra.basetest.BRTest):
10 infra.run_cmd_on_host(self.builddir, cmd)
32 infra.basetest.MINIMAL_CONFIG + \
46 infra.basetest.MINIMAL_CONFIG + \
96 infra.basetest.MINIMAL_CONFIG + \
150 infra.basetest.MINIMAL_CONFIG + \
H A Dtest_docker_compose.py3 import infra.basetest
6 class TestDockerCompose(infra.basetest.BRTest):
29 infra.filepath("tests/package/copy-sample-script-to-target.sh"),
30 infra.filepath("conf/docker-compose.yml"),
31 infra.filepath("conf/docker-compose-kernel.config"))
H A Dtest_dtbocfg.py3 import infra.basetest
6 class TestDtbocfg(infra.basetest.BRTest):
7 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
23 dtb = infra.download(self.downloaddir, "vexpress-v2p-ca9.dtb")
H A Dtest_bmap_tools.py2 import infra
5 from infra.basetest import BRTest
29 """.format(infra.filepath(copy_script),
30 infra.filepath(sample_script))
65 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
H A Dtest_openssh.py3 import infra.basetest
6 class TestOpensshBase(infra.basetest.BRTest):
17 infra.filepath("tests/package/test_openssh/post-build.sh"))
35 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
H A Dtest_opkg.py3 import infra.basetest
6 class TestOpkg(infra.basetest.BRTest):
12 config = infra.basetest.BASIC_TOOLCHAIN_CONFIG + \
22 """.format(infra.filepath("tests/package/test_opkg/post-build.sh"))
H A Dtest_lxc.py3 import infra.basetest
6 class TestLxc(infra.basetest.BRTest):
28 infra.filepath("tests/package/test_lxc/lxc-kernel.config"),
29 infra.filepath("tests/package/test_lxc/rootfs-overlay"))
/OK3568_Linux_fs/buildroot/support/testing/tests/toolchain/
H A Dtest_external.py2 import infra
20 class TestExternalToolchain(infra.basetest.BRTest):
33 interp = infra.get_elf_prog_interpreter(self.builddir,
54 arch = infra.get_file_arch(self.builddir,
85 arch = infra.get_file_arch(self.builddir,
114 arch = infra.get_file_arch(self.builddir,
118 isa = infra.get_elf_arch_tag(self.builddir,
151 arch = infra.get_file_arch(self.builddir,
155 isa = infra.get_elf_arch_tag(self.builddir,
/OK3568_Linux_fs/buildroot/support/testing/infra/
H A Demulator.py3 import infra
11 self.logfile = infra.open_log_file(builddir, "run", logtofile)
56 kernel = infra.download(self.downloaddir,
58 dtb = infra.download(self.downloaddir,
63 kernel = infra.download(self.downloaddir,
65 dtb = infra.download(self.downloaddir,
/OK3568_Linux_fs/buildroot/support/testing/tests/download/
H A Dtest_git.py6 import infra
9 class GitTestBase(infra.basetest.BRConfigTest):
14 gitremotedir = infra.filepath("tests/download/git-remote")
52 br2_external = [infra.filepath("tests/download/br2-external/git-hash")]
62 br2_external = [infra.filepath("tests/download/br2-external/git-refs")]

123456