Lines Matching full:environment
99 set(ENV{VARIABLE} "environment")
107 # Environment value has the next highest precedence.
112 assert_equal(VARIABLE "environment")
114 # Environment value is cached after it's retrieved.
115 assert_equal(CACHE{VARIABLE} "environment")
134 set(ENV{TESTCASE_VARIABLE} "environment")
158 IMAGE no_sysbuild "environment"
162 IMAGE zephyr_get_3rd "environment"
165 IMAGE no_sysbuild "environment"
168 IMAGE zephyr_get_3rd "environment"
188 set(ENV{VARIABLE} "environment")
193 assert_equal(VARIABLE "cmake cache;environment;local")
195 # Environment is not cached when using MERGE.
200 assert_equal(VARIABLE "environment")
249 set(ENV{TESTCASE_VARIABLE} "environment")
255 IMAGE no_sysbuild "cmake cache;environment;local"
256 IMAGE zephyr_get "sysbuild.main;cmake cache;environment;local"
257 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main;cmake cache;environment;local"
258 IMAGE zephyr_get_3rd "sysbuild.main;cmake cache;environment;local"
264 IMAGE no_sysbuild "cmake cache;environment"
265 IMAGE zephyr_get "sysbuild.main;cmake cache;environment"
266 IMAGE zephyr_get_2nd "sysbuild.2nd;cmake cache;environment"
267 IMAGE zephyr_get_3rd "cmake cache;environment"
276 IMAGE no_sysbuild "environment"
277 IMAGE zephyr_get "sysbuild.main;environment"
278 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main;environment"
279 IMAGE zephyr_get_3rd "sysbuild.main;environment"
293 set(ENV{VARIABLE_1} "environment 1")
294 set(ENV{VARIABLE_3} "environment 3")
318 assert_equal(RESULT "cmake cache 1;cmake cache 2;environment 1;environment 3;local 2;local 3")
320 set(ENV{RESULT} "environment r")
326 assert_equal(RESULT "cmake cache 2;cmake cache 1;environment 3;environment 1;local 3;local 2")
330 …_equal(RESULT "cmake cache r;cmake cache 2;cmake cache 1;environment r;environment 3;environment 1…
334 …_equal(RESULT "cmake cache 2;cmake cache 1;cmake cache r;environment 3;environment 1;environment r…
340 # If an environment value wins, it is cached afterwards.
345 assert_equal(RESULT "environment 1")
346 assert_equal(CACHE{VARIABLE_1} "environment 1")
355 assert_equal(RESULT "environment 3")
358 assert_equal(CACHE{VARIABLE_3} "environment 3")
367 set(ENV{TESTCASE_VARIABLE} "environment s")
389 …IMAGE no_sysbuild "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local …
390 …ephyr_get "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3…
391 … "sysbuild.2nd;sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3…
392 …ephyr_get_3rd "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3…
397 …IMAGE no_sysbuild "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local …
398 …ephyr_get "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3…
399 …zephyr_get_2nd "sysbuild.2nd;cmake cache s;cmake cache 2;environment s;environment 1;environment 3…
400 …IMAGE zephyr_get_3rd "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local …
405 …IMAGE no_sysbuild "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local …
406 …ephyr_get "sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s…
407 … "sysbuild.2nd;sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s…
408 …ephyr_get_3rd "sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s…
413 …IMAGE no_sysbuild "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local …
414 …ephyr_get "sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s…
415 …zephyr_get_2nd "sysbuild.2nd;cmake cache 2;cmake cache s;environment 3;environment 1;environment s…
416 …IMAGE zephyr_get_3rd "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local …
429 set(ENV{VARIABLE_1} "environment 1")
430 set(ENV{VARIABLE_2} "environment 2")
438 assert_equal(VARIABLE_1 "local 1;environment 1;cmake cache 1")
441 assert_equal(RESULT "local 1;local 2;environment 1;environment 2;cmake cache 1;cmake cache 2")
452 …assert_equal(RESULT "local 1;local 2;F;E;environment 1;environment 2;A;B;C;D;cmake cache 1;cmake c…
468 set(ENV{TESTCASE_VARIABLE} "environment s")
474 IMAGE no_sysbuild "local s;environment s;cmake cache s"
475 IMAGE zephyr_get "local s;environment s;cmake cache s;sysbuild.main"
476 IMAGE zephyr_get_2nd "local s;environment s;cmake cache s;sysbuild.main;sysbuild.2nd"
477 IMAGE zephyr_get_3rd "local s;environment s;cmake cache s;sysbuild.main"
483 IMAGE no_sysbuild "environment s;cmake cache s"
484 IMAGE zephyr_get "environment s;cmake cache s;sysbuild.main"
485 IMAGE zephyr_get_2nd "environment s;cmake cache s;sysbuild.2nd"
486 IMAGE zephyr_get_3rd "environment s;cmake cache s"
495 …IMAGE no_sysbuild "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cach…
496 …IMAGE zephyr_get "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cach…
497 …IMAGE zephyr_get_2nd "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cach…
498 …IMAGE zephyr_get_3rd "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cach…
520 set(ENV{VARIABLE_1} "environment 1")
521 set(ENV{VARIABLE_3} "environment 3")
525 # Snippets have higher precedence than environment, but lower than CMake cache.
530 assert_equal(VARIABLE_1 "snippet 1;environment 1")
542 assert_equal(VARIABLE_3 "cmake cache 3;snippet 3;environment 3;local 3")
549 …assert_equal(RESULT "local 2;local 3;environment 1;environment 3;snippet 1;snippet 2;snippet 3;cma…
575 # If an environment value wins, it gets cached and promoted above snippets.
578 assert_equal(VARIABLE_1 "environment 1")
579 assert_equal(CACHE{VARIABLE_1} "environment 1")
583 assert_equal(VARIABLE_1 "environment 1")