Lines Matching +full:2 +full:-
1 # SPDX-License-Identifier: Apache-2.0
6 # Script mode initialization (re-run)
24 # - run_suite(<test-1> [<test-2> ...])
47 # - assert_equal(<variable> <expected-value>)
49 # - assert_equal(<variable>
50 # IMAGE <image-1> <expected-value-for-image-1>
51 # [IMAGE <image-2> <expected-value-for-image-2> ...]
141 # Provided -DTESTCASE_VARIABLE=<...> serves as the
142 # LOCAL sysbuild-defined value for this primary image.
144 # Provided -Dzephyr_get_2nd_TESTCASE_VARIABLE=<...> serves as
145 # the LOCAL sysbuild-defined value for this secondary image.
146 IMAGE zephyr_get_2nd "sysbuild.2nd"
147 # Provided -DTESTCASE_VARIABLE=<...> serves as the
148 # GLOBAL sysbuild-defined value for this tertiary image;
160 IMAGE zephyr_get_2nd "sysbuild.2nd"
161 # This image has no LOCAL sysbuild-defined value.
180 IMAGE zephyr_get_2nd "sysbuild.2nd"
231 IMAGE zephyr_get_2nd "sysbuild.2nd"
232 # This image has no LOCAL sysbuild-defined value.
238 # Add the GLOBAL sysbuild-defined value.
244 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main"
257 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main;cmake cache;environment;local"
266 IMAGE zephyr_get_2nd "sysbuild.2nd;cmake cache;environment"
278 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main;environment"
295 set(VARIABLE_2 "cmake cache 2" CACHE INTERNAL "")
296 set(VARIABLE_2 "local 2")
301 assert_equal(RESULT "cmake cache 2")
303 assert_equal(RESULT "cmake cache 2")
310 assert_equal(RESULT "cmake cache 2")
318 assert_equal(RESULT "cmake cache 1;cmake cache 2;environment 1;environment 3;local 2;local 3")
326 assert_equal(RESULT "cmake cache 2;cmake cache 1;environment 3;environment 1;local 3;local 2")
330 …l(RESULT "cmake cache r;cmake cache 2;cmake cache 1;environment r;environment 3;environment 1;loca…
334 …assert_equal(RESULT "cmake cache 2;cmake cache 1;cmake cache r;environment 3;environment 1;environ…
361 set(VARIABLE_2 "cmake cache 2" CACHE INTERNAL "")
362 set(VARIABLE_2 "local 2")
375 IMAGE zephyr_get_2nd "sysbuild.2nd"
382 IMAGE zephyr_get_2nd "sysbuild.2nd"
389 …MAGE no_sysbuild "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
390 …t "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
391 …zephyr_get_2nd "sysbuild.2nd;sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1…
392 …t_3rd "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
397 …MAGE no_sysbuild "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
398 …t "sysbuild.main;cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
399 …IMAGE zephyr_get_2nd "sysbuild.2nd;cmake cache s;cmake cache 2;environment s;environment 1;environ…
400 …MAGE zephyr_get_3rd "cmake cache s;cmake cache 2;environment s;environment 1;environment 3;local s…
405 …IMAGE no_sysbuild "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local …
406 …phyr_get "sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;…
407 …zephyr_get_2nd "sysbuild.2nd;sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1…
408 …phyr_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 …phyr_get "sysbuild.main;cmake cache 2;cmake cache s;environment 3;environment 1;environment s;…
415 …IMAGE zephyr_get_2nd "sysbuild.2nd;cmake cache 2;cmake cache s;environment 3;environment 1;environ…
416 …IMAGE zephyr_get_3rd "cmake cache 2;cmake cache s;environment 3;environment 1;environment s;local …
430 set(ENV{VARIABLE_2} "environment 2")
432 set(VARIABLE_2 "cmake cache 2" CACHE INTERNAL "")
434 set(VARIABLE_2 "local 2")
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…
463 IMAGE zephyr_get_2nd "sysbuild.main;sysbuild.2nd"
476 IMAGE zephyr_get_2nd "local s;environment s;cmake cache s;sysbuild.main;sysbuild.2nd"
485 IMAGE zephyr_get_2nd "environment s;cmake cache s;sysbuild.2nd"
495 …ysbuild "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cache s;cmake …
496 …yr_get "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cache s;cmake …
497 …ocal s;local 1;local 2;environment s;environment 1;environment 2;cmake cache s;cmake cache 1;cmake…
498 …yr_get_3rd "local s;local 1;local 2;environment s;environment 1;environment 2;cmake cache s;cmake …
510 zephyr_set(VARIABLE_2 "snippet 2" SCOPE snippets)
522 set(VARIABLE_2 "cmake cache 2" CACHE INTERNAL "")
533 assert_equal(VARIABLE_2 "cmake cache 2")
534 set(VARIABLE_2 "local 2")
536 assert_equal(VARIABLE_2 "cmake cache 2;snippet 2;local 2")
545 set(VARIABLE_2 "local 2")
549 …assert_equal(RESULT "local 2;local 3;environment 1;environment 3;snippet 1;snippet 2;snippet 3;cma…
551 # Transitively, snippets have lower precedence than sysbuild-defined values.
556 IMAGE zephyr_get_2nd "sysbuild.2nd"
563 IMAGE zephyr_get_2nd "sysbuild.2nd"
571 IMAGE zephyr_get_2nd "sysbuild.2nd;sysbuild.main;snippet s"
600 # Re-run this testsuite in plain script mode
601 execute_process(COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_LIST_FILE})