Home
last modified time | relevance | path

Searched refs:env (Results 1 – 25 of 97) sorted by relevance

1234

/Zephyr-latest/scripts/tests/twister/
Dconftest.py46 env = TwisterEnv(options)
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")
50 env.outdir = tmpdir_factory.mktemp("sanity_out_demo")
51 return env
57 env = class_env
58 env.board_roots = [test_data +"board_config/1_level/2_level/"]
59 env.test_roots = [testsuites_dir + '/tests', testsuites_dir + '/samples']
60 env.outdir = tmpdir_factory.mktemp("sanity_out_demo")
[all …]
Dtest_jobserver.py53 env = JobClient.env()
55 assert env == {}
231 env,
261 gmjc = GNUMakeJobClient.from_environ(env=env, jobs=jobs)
365 env = None
373 nonlocal env
374 env = gmjc.env()
380 assert env == expected_makeflags
Dtest_testinstance.py71 testinstance = TestInstance(testsuite, platform, class_testplan.env.outdir)
72 env = mock.Mock(
81 run = testinstance.check_runnable(env.options)
87 run = testinstance.check_runnable(env.options)
92 run = testinstance.check_runnable(env.options)
150 testinstance = TestInstance(testcase, platform, class_testplan.env.outdir)
161 testinstance = TestInstance(testcase, platform, class_testplan.env.outdir)
213 testinstance = TestInstance(testsuite, platform, class_testplan.env.outdir)
231 testinstance = TestInstance(testsuite, platform, class_testplan.env.outdir)
234 …assert testinstance.build_dir == os.path.join(class_testplan.env.outdir, platform.normalized_name,…
[all …]
/Zephyr-latest/scripts/pylib/twister/
Dexpr_parser.py188 def ast_sym(ast, env): argument
189 if ast in env:
190 return str(env[ast])
193 def ast_sym_int(ast, env): argument
194 if ast in env:
195 v = env[ast]
202 def ast_expr(ast, env, edt): argument
204 return not ast_expr(ast[1], env, edt)
206 return ast_expr(ast[1], env, edt) or ast_expr(ast[2], env, edt)
208 return ast_expr(ast[1], env, edt) and ast_expr(ast[2], env, edt)
[all …]
/Zephyr-latest/doc/_extensions/zephyr/domain/
D__init__.py119 gh_link = gh_link_get_url(self.app, self.env.docname)
289 docname = self.env.domaindata["zephyr"]["code-samples-categories"][tree.category["id"]][
310 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
319 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
348 code_samples_categories_tree = self.env.domaindata["zephyr"]["code-samples-categories-tree"]
352 lambda node: hasattr(node, "category") and node.category["docname"] == self.env.docname,
358 self.env.tocs[self.env.docname] = bullet_list
369 self.env.app.builder,
370 self.env.docname,
385 for code_sample in self.env.domaindata["zephyr"]["code-samples"].values()
[all …]
/Zephyr-latest/tests/misc/llext-edk/pytest/
Dtest_edk.py66 env = os.environ.copy()
67 env.update({"LLEXT_EDK_INSTALL_DIR": edk_dir})
72 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
77 output = check_output(command, text=True, cwd=tempdir_extension, env=env)
/Zephyr-latest/scripts/pylib/twister/twisterlib/
Dtwister_main.py112 env = TwisterEnv(options, default_options)
113 env.discover()
115 hwm = HardwareMap(env)
120 env.hwm = hwm
122 tplan = TestPlan(env)
153 report = Reporting(tplan, env)
156 report.json_report(plan_file, env.version)
159 report.json_report(options.save_tests, env.version)
182 runner = TwisterRunner(tplan.instances, tplan.testsuites, env)
238 artifacts = Artifacts(env)
[all …]
Dreports.py44 def __init__(self, plan, env) -> None: argument
49 self.env = env
51 self.outdir = os.path.abspath(env.options.outdir)
140 env = json_data.get('environment', {})
141 version = env.get('zephyr_version', None)
148 if not self.env.options.detailed_skipped_report:
212 env = json_data.get('environment', {})
213 version = env.get('zephyr_version', None)
221 if not self.env.options.detailed_skipped_report:
252 and not self.env.options.detailed_skipped_report
[all …]
Djobserver.py43 def env(): member in JobClient
62 kwargs["env"].update(self.env())
109 def from_environ(cls, env=None, jobs=0): argument
133 if env is None:
134 env = os.environ
135 makeflags = env.get("MAKEFLAGS")
204 def env(self): member in GNUMakeJobClient
/Zephyr-latest/samples/posix/env/
DREADME.rst1 .. zephyr:code-sample:: posix-env
21 :zephyr-app: samples/posix/env
49 uart:~$ posix env set ALERT="Happy Friday!"
51 uart:~$ posix env set HOME="127.0.0.1"
62 uart:~$ posix env get BOARD
70 uart:~$ posix env get
82 uart:~$ posix env unset BOARD
/Zephyr-latest/lib/posix/options/
Denv.c46 const char *env; in findenv() local
58 env = *envp; in findenv()
59 if (strncmp(env, name, namelen) == 0 && env[namelen] == '=') { in findenv()
124 char *env; in setenv() local
178 env = realloc(environ[ret], tsize); in setenv()
179 if (env == NULL) { in setenv()
188 environ[ret] = env; in setenv()
/Zephyr-latest/scripts/pylib/pytest-twister-harness/
D.gitignore42 .env
44 env/
47 env.bak/
/Zephyr-latest/boards/infineon/cy8ckit_062s2_ai/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/doc/_extensions/zephyr/
Ddoxybridge.py76 entry = self.app.env.doxybridge_cache.get(reftype)
85 id = self.app.env.doxybridge_cache.get("macro").get(reftarget)
112 title = self.app.env.doxybridge_group_titles.get(reftarget, "group")
193 app.env.doxybridge_cache.setdefault(kind, {}).update(data)
194 app.env.doxybridge_group_titles.update(group_titles)
198 if not app.env.doxygen_input_changed:
201 app.env.doxybridge_cache = {
213 app.env.doxybridge_group_titles = {}
/Zephyr-latest/boards/infineon/cy8cproto_062_4343w/support/
Dopenocd.cfg6 if {[info exists env(OPENOCD_INTERFACE)]} {
7 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/cypress/cy8ckit_062_ble/support/
Dopenocd.cfg6 if {[info exists env(OPENOCD_INTERFACE)]} {
7 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/cypress/cy8ckit_062_wifi_bt/support/
Dopenocd.cfg6 if {[info exists env(OPENOCD_INTERFACE)]} {
7 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/samples/posix/env/src/
Dmain.c29 static void env(void) in env() function
48 env(); in entry()
/Zephyr-latest/boards/infineon/cy8cproto_063_ble/support/
Dopenocd.cfg7 if {[info exists env(OPENOCD_INTERFACE)]} {
8 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/cmake/toolchain/cross-compile/
Dgeneric.cmake10 # New users should set the env var 'ZEPHYR_TOOLCHAIN_VARIANT' to
11 # 'cross-compile' and the 'CROSS_COMPILE' env var to the toolchain
18 # The env var has the lowest precedence.
/Zephyr-latest/boards/silabs/radio_boards/slwrb4104a/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/silabs/radio_boards/slwrb4161a/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/silabs/radio_boards/slwrb4170a/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/silabs/radio_boards/slwrb4180a/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)
/Zephyr-latest/boards/silabs/radio_boards/slwrb4250b/support/
Dopenocd.cfg1 if {[info exists env(OPENOCD_INTERFACE)]} {
2 set INTERFACE $env(OPENOCD_INTERFACE)

1234