Lines Matching full:local

98   # Test with a local variable not controlled by sysbuild.
101 set(VARIABLE "local")
120 set(VARIABLE "local")
123 assert_equal(VARIABLE "local")
136 set(TESTCASE_VARIABLE "local")
142 # LOCAL sysbuild-defined value for this primary image.
145 # the LOCAL sysbuild-defined value for this secondary image.
149 # it has no LOCAL value of its own.
156 zephyr_get(TESTCASE_VARIABLE SYSBUILD LOCAL)
161 # This image has no LOCAL sysbuild-defined value.
173 set(TESTCASE_VARIABLE "local")
178 IMAGE no_sysbuild "local"
187 # Test with a local variable not controlled by sysbuild.
190 set(VARIABLE "local")
193 assert_equal(VARIABLE "cmake cache;environment;local")
205 set(VARIABLE "local")
208 assert_equal(VARIABLE "cmake cache;local")
227 zephyr_get(TESTCASE_VARIABLE MERGE SYSBUILD LOCAL)
232 # This image has no LOCAL sysbuild-defined value.
242 # This image's LOCAL and GLOBAL are identical; duplicates are removed.
251 set(TESTCASE_VARIABLE "local")
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"
262 zephyr_get(TESTCASE_VARIABLE MERGE SYSBUILD LOCAL)
286 # Test with local variables not controlled by sysbuild.
296 set(VARIABLE_2 "local 2")
297 set(VARIABLE_3 "local 3")
318 assert_equal(RESULT "cmake cache 1;cmake cache 2;environment 1;environment 3;local 2;local 3")
322 set(RESULT "local r")
326 assert_equal(RESULT "cmake cache 2;cmake cache 1;environment 3;environment 1;local 3;local 2")
328 set(RESULT "local r")
330 …e r;cmake cache 2;cmake cache 1;environment r;environment 3;environment 1;local r;local 3;local 2")
332 set(RESULT "local r")
334 …e 2;cmake cache 1;cmake cache r;environment 3;environment 1;environment r;local 2;local 3;local r")
362 set(VARIABLE_2 "local 2")
363 set(VARIABLE_3 "local 3")
369 set(TESTCASE_VARIABLE "local s")
378 zephyr_get(RESULT SYSBUILD LOCAL VAR TESTCASE_VARIABLE VARIABLE_1 VARIABLE_2 VARIABLE_3)
389 … "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
390 …main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
391 …main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
392 …main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
395 zephyr_get(RESULT SYSBUILD LOCAL MERGE VAR TESTCASE_VARIABLE VARIABLE_1 VARIABLE_2 VARIABLE_3)
397 … "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
398 …main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
399 ….2nd;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
400 …3rd "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s;local 2;local 3"
405 … "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
406 …main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
407 …main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
408 …main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
411 zephyr_get(RESULT SYSBUILD LOCAL MERGE VAR VARIABLE_3 VARIABLE_2 VARIABLE_1 TESTCASE_VARIABLE)
413 … "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
414 …main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
415 ….2nd;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
416 …3rd "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local 3;local 2;local s"
422 # Test with local variables not controlled by sysbuild.
433 set(VARIABLE_1 "local 1")
434 set(VARIABLE_2 "local 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…
458 # In REVERSE, the GLOBAL value goes before the LOCAL.
470 set(TESTCASE_VARIABLE "local 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"
481 zephyr_get(TESTCASE_VARIABLE MERGE REVERSE SYSBUILD LOCAL)
490 set(TESTCASE_VARIABLE "local 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…
534 set(VARIABLE_2 "local 2")
536 assert_equal(VARIABLE_2 "cmake cache 2;snippet 2;local 2")
540 set(VARIABLE_3 "local 3")
542 assert_equal(VARIABLE_3 "cmake cache 3;snippet 3;environment 3;local 3")
545 set(VARIABLE_2 "local 2")
546 set(VARIABLE_3 "local 3")
549 …assert_equal(RESULT "local 2;local 3;environment 1;environment 3;snippet 1;snippet 2;snippet 3;cma…
559 zephyr_get(TESTCASE_VARIABLE SYSBUILD LOCAL)