/Zephyr-latest/scripts/tests/build_helpers/ |
D | test_domains.py | 15 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/build_helpers")) 136 [('some', os.path.join('dir', '2')), 137 ('order', os.path.join('dir', '1'))] 142 [('order', os.path.join('dir', '1')), 143 ('some', os.path.join('dir', '2'))] 148 [('some', os.path.join('dir', '2'))] 173 ('some', os.path.join('dir', '2')), 174 ('order', os.path.join('dir', '1')) 177 'order': ('order', os.path.join('dir', '1')), 178 'some': ('some', os.path.join('dir', '2')) [all …]
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_printouts.py | 31 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 35 os.path.join(TEST_DATA, 'tests', 'dummy', 'device'), 42 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 55 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 67 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 73 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 86 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 99 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 111 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 117 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), [all …]
|
D | test_outfile.py | 28 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 49 path = os.path.join(TEST_DATA, 'tests', 'dummy') 57 os.mkdir(os.path.join(out_path)) 60 straggler_path = os.path.join(out_path, straggler_name) 72 current_dirs = os.listdir(os.path.normpath(os.path.join(out_path, '..'))) 76 out_contents = os.listdir(os.path.join(out_path)) 85 path = os.path.join(TEST_DATA, 'samples', 'hello_world') 100 sample_path = os.path.join(out_path, 'qemu_x86_atom', relpath, 'sample.basic.helloworld') 102 zephyr_listdir = os.listdir(os.path.join(sample_path, 'zephyr')) 115 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2') [all …]
|
D | test_coverage.py | 26 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 36 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 45 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2'), 59 'coverage', os.path.join('coverage','coverage.xml') 67 'coverage', os.path.join('coverage','coverage.sonarqube.xml') 75 'coverage', os.path.join('coverage','coverage.txt') 83 'coverage', os.path.join('coverage','coverage.csv') 91 'coverage', os.path.join('coverage','coverage.coveralls.json') 99 'coverage', os.path.join('coverage','index.html') 108 os.path.join('coverage','index.html') [all …]
|
D | test_footprint.py | 41 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 61 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group') 77 with open(os.path.join(out_path, 'twister.json')) as f: 84 with open(os.path.join(out_path, 'twister.json'), 'w') as f: 87 report_path = os.path.join( 95 path = os.path.join(TEST_DATA, 'tests', 'dummy') 123 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group') 139 with open(os.path.join(out_path, 'twister.json')) as f: 148 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'device', 'group') 164 with open(os.path.join(out_path, 'twister.json')) as f: [all …]
|
D | test_report.py | 30 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 42 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 53 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 62 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 72 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 84 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 95 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 107 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 114 os.path.join(TEST_DATA, 'tests', 'one_fail_two_error_one_pass'), 124 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') [all …]
|
D | test_addon.py | 26 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 48 test_path = os.path.join(TEST_DATA, 'tests', 'san', 'ubsan') 75 test_path = os.path.join(TEST_DATA, 'tests', 'san', 'lsan') 108 test_path = os.path.join(TEST_DATA, 'tests', 'san', 'asan') 132 test_path = os.path.join(TEST_DATA, 'tests', 'params', 'dummy') 163 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2') 177 with open(os.path.join(out_path, 'twister.log')) as f: 218 pth_path = os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'pytest-twister-harness') 225 pth_path = os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'pytest-twister-harness') 232 os.path.join(pth_path, 'src', 'pytest_twister_harness.egg-info'), [all …]
|
D | test_config.py | 24 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 36 path = os.path.join(TEST_DATA, 'tests', 'dummy') 37 alt_config_root = os.path.join(TEST_DATA, 'alt-test-configs', 'dummy') 49 with open(os.path.join(out_path, 'testplan.json')) as f: 72 path = os.path.join(TEST_DATA, 'tests', 'dummy') 73 config_path = os.path.join(TEST_DATA, 'test_config.yaml') 84 with open(os.path.join(out_path, 'testplan.json')) as f:
|
D | test_filter.py | 75 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 101 path = os.path.join(TEST_DATA, 'tests', 'dummy') 114 with open(os.path.join(out_path, 'testplan.json')) as f: 129 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic') 130 alt_config_root = os.path.join(TEST_DATA, 'alt-test-configs', 'dummy', 'agnostic') 142 with open(os.path.join(out_path, 'testplan.json')) as f: 157 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic') 158 alt_config_root = os.path.join(TEST_DATA, 'alt-test-configs', 'dummy', 'agnostic') 170 with open(os.path.join(out_path, 'testplan.json')) as f: 194 path = os.path.join(TEST_DATA, 'tests', 'no_filter') [all …]
|
D | test_testplan.py | 26 os.path.join('scripts', 'tests', 'twister_blackbox', 'test_data', 'tests', 44 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 61 path = os.path.join(TEST_DATA, 'tests', 'dummy') 75 with open(os.path.join(out_path, 'testplan.json')) as f: 94 path = os.path.join(TEST_DATA, 'tests', 'dummy') 106 with open(os.path.join(out_path, 'testplan.json')) as f: 127 path = os.path.join(TEST_DATA, 'tests', 'dummy') 140 with open(os.path.join(out_path, 'testplan.json')) as f:
|
D | test_testlist.py | 24 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 36 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic') 37 saved_tests_file_path = os.path.realpath(os.path.join(out_path, '..', 'saved-tests.json')) 54 path = os.path.join(TEST_DATA, 'tests', 'dummy') 67 with open(os.path.join(out_path, 'testplan.json')) as f:
|
D | conftest.py | 16 TEST_DATA = os.path.join(ZEPHYR_BASE, 'scripts', 'tests', 20 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 21 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts")) 79 out_path = os.path.join(out_container_path, "blackbox-out")
|
D | test_quarantine.py | 25 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 37 path = os.path.join(TEST_DATA, 'tests', 'dummy') 38 quarantine_path = os.path.join(TEST_DATA, 'twister-quarantine-list.yml') 50 with open(os.path.join(out_path, 'testplan.json')) as f: 66 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 68 os.path.join(TEST_DATA, 'twister-quarantine-list.yml'),
|
D | test_platform.py | 26 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'), 47 os.path.join(TEST_DATA, 'tests', 'dummy', 'device'), 68 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic_cpp'), 92 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 108 board_root_path = os.path.join(TEST_DATA, 'boards') 109 path = os.path.join(TEST_DATA, 'tests', 'dummy') 122 with open(os.path.join(out_path, 'twister.log')) as f: 132 path = os.path.join(TEST_DATA, 'tests', 'dummy') 143 with open(os.path.join(out_path, 'testplan.json')) as f: 156 path = os.path.join(TEST_DATA, 'tests', 'dummy') [all …]
|
D | test_tooling.py | 25 apath = os.path.join(ZEPHYR_BASE, 'scripts', 'twister') 42 path = os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic', 'group2') 53 with open(os.path.join(out_path, 'twister.log')) as f: 63 path = os.path.join(TEST_DATA, 'samples', 'hello_world') 77 with open(os.path.join(out_path, 'testplan.json')) as f: 93 os.path.join(TEST_DATA, 'tests', 'dummy', 'agnostic'),
|
/Zephyr-latest/tests/ztest/ztest_param/pytest/ |
D | test_parameters.py | 10 output = '\n'.join(lines) 18 output = '\n'.join(lines) 24 output = '\n'.join(lines) 31 output = '\n'.join(lines) 38 output = '\n'.join(lines) 44 output = '\n'.join(lines)
|
/Zephyr-latest/scripts/tests/twister/ |
D | test_testsuite.py | 18 sys.path.insert(0, os.path.join(ZEPHYR_BASE, 'scripts', 'pylib', 'twister')) 103 os.path.join('testsuites', 'tests', 'test_ztest.c'), 122 os.path.join('testsuites', 'tests', 'test_a', 'test_ztest_error.c'), 133 os.path.join('testsuites', 'tests', 'test_a', 'test_ztest_error_1.c'), 144 os.path.join( 160 os.path.join( 212 result: ScanPathResult = scan_file(os.path.join(test_data, test_file)) 286 os.path.join(ZEPHYR_BASE, 'scripts', 'tests'), 309 TEST_DATA_REL_PATH = os.path.join( 320 os.path.join(ZEPHYR_BASE, TEST_DATA_REL_PATH), [all …]
|
D | conftest.py | 15 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 16 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts")) 47 env.board_roots = [os.path.join(test_data, "board_config", "1_level", "2_level")] 48 env.test_roots = [os.path.join(testsuites_dir, 'tests', testsuites_dir, 'samples')] 49 env.test_config = os.path.join(test_data, "test_config.yaml") 78 class_testplan.env.board_roots = [os.path.abspath(os.path.join(test_data, "board_config"))]
|
D | test_runner.py | 25 sys.path.insert(0, os.path.join(ZEPHYR_BASE, "scripts/pylib/twister")) 82 build_dir_zephyr_path = os.path.join(project_builder.instance.build_dir, 'zephyr') 84 runners_file_path = os.path.join(build_dir_zephyr_path, 'runners.yaml') 88 'hex_file': os.path.join(build_dir_zephyr_path, 'zephyr.elf'), 132 os.path.join('zephyr', 'zephyr.hex'), 133 os.path.join('zephyr', 'zephyr.bin'), 134 os.path.join('zephyr', 'zephyr.elf'), 135 os.path.join('zephyr', 'zephyr.exe'), 146 platform_binaries_expected = [os.path.join('zephyr', bin) for bin in platform_binaries] 153 …runners_binaries_expected = [bin if os.path.isabs(bin) else os.path.join('zephyr', bin) for bin in… [all …]
|
/Zephyr-latest/scripts/pylib/twister/twisterlib/ |
D | coverage.py | 152 with open(os.path.join(outdir, "coverage.log"), "a") as coveragelog: 157 os.path.join(outdir, "coverage", "index.html") 160 os.path.join(outdir, "coverage.info") 163 os.path.join(outdir, "coverage", "coverage.xml") 166 os.path.join(outdir, "coverage", "coverage.csv") 169 os.path.join(outdir, "coverage", "coverage.txt") 172 os.path.join(outdir, "coverage", "coverage.coveralls.json") 175 os.path.join(outdir, "coverage", "coverage.sonarqube.xml") 239 cmd_str = " ".join(cmd) 265 coveragefile = os.path.join(outdir, "coverage.info") [all …]
|
D | package.py | 24 tar.add(d, arcname=os.path.join(root, f)) 28 with open(os.path.join(self.options.outdir, "twister.json")) as json_test_plan: 34 dirs.append(os.path.join(self.options.outdir, normalized, t['name'])) 38 os.path.join(self.options.outdir, "twister.json"), 39 os.path.join(self.options.outdir, "testplan.json")
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/creds/ |
D | convert_keys.py | 19 f.write(", ".join(f"0x{b:02x}" for b in data[i:i+16])) 37 bin2array("public_cert", cred, os.path.join(creds_dir, "cert.c")) 40 bin2array("private_key", cred, os.path.join(creds_dir, "key.c")) 48 bin2array("ca_cert", os.path.join(creds_dir, "AmazonRootCA1.pem"), 49 os.path.join(creds_dir, "ca.c"))
|
/Zephyr-latest/scripts/west_commands/zspdx/ |
D | sbom.py | 41 cmakeApiDirPath = os.path.join(build_dir, ".cmake", "api", "v1", "query") 52 queryFilePath = os.path.join(cmakeApiDirPath, "codemodel-v2") 104 retval = writeSPDX(os.path.join(cfg.spdxDir, "sdk.spdx"), w.docSDK) 110 retval = writeSPDX(os.path.join(cfg.spdxDir, "app.spdx"), w.docApp) 116 writeSPDX(os.path.join(cfg.spdxDir, "zephyr.spdx"), w.docZephyr) 122 writeSPDX(os.path.join(cfg.spdxDir, "build.spdx"), w.docBuild) 128 writeSPDX(os.path.join(cfg.spdxDir, "modules-deps.spdx"), w.docModulesExtRefs)
|
/Zephyr-latest/scripts/build/ |
D | gen_syscalls.py | 235 decl_arglist = ", ".join([" ".join(argrec) for argrec in args]) or "void" 274 wrap += "\t\t\t" + (",\n\t\t\t".join(mrsh_args[5:])) + "\n" 280 ", ".join(mrsh_args + [syscall_id]))) 307 impl_arglist = ", ".join([argrec[1] for argrec in args]) 316 argnames = ", ".join([f"{argname}" for _, argname in args]) 356 decl_arglist = ", ".join([" ".join(argrec) for argrec in args]) 386 out_args = ", ".join(["parm%d.val" % i for i in range(len(args))]) 509 weak_defines = "".join([weak_template % name 514 …weak_defines += "\n".join(["extern uintptr_t %s(uintptr_t arg1, uintptr_t arg2, uintptr_t arg3, ui… 518 ",\n\t".join(table_entries))) [all …]
|
/Zephyr-latest/modules/mbedtls/ |
D | create_psa_files.py | 13 INPUT_REL_PATH = os.path.join("..", "..", "..", "modules", "crypto", "mbedtls", 15 INPUT_FILE = os.path.normpath(os.path.join(SCRIPT_PATH, INPUT_REL_PATH)) 17 KCONFIG_PATH=os.path.join(SCRIPT_PATH, "Kconfig.psa.auto") 18 HEADER_PATH=os.path.join(SCRIPT_PATH, "configs", "config-psa.h") 95 return KCONFIG_HEADER + "".join(output) + KCONFIG_FOOTER 106 return H_HEADER + "".join(output) + H_FOOTER
|