mbed-os

Fork of mbed-os by erkin yucel

Committer:
xuaner
Date:
Thu Jul 20 14:26:57 2017 +0000
Revision:
1:3deb71413561
Parent:
0:f269e3021894
mbed_os

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 # This build on top of test6 by adding an invalid override in mbed_app_override.json for b1_label.
elessair 0:f269e3021894 2 # This will prevent the configuration for working for b1 and both, but it should still
elessair 0:f269e3021894 3 # work for base and b2.
elessair 0:f269e3021894 4
elessair 0:f269e3021894 5 expected_results = {
elessair 0:f269e3021894 6 "base": {
elessair 0:f269e3021894 7 "desc": "override values based on labels with libs (no labels)",
elessair 0:f269e3021894 8 "app.app1": "v_app1",
elessair 0:f269e3021894 9 "app.app2": "v_app2",
elessair 0:f269e3021894 10 "lib1.p1": "v_p1_lib1",
elessair 0:f269e3021894 11 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 12 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 13 "lib2.p1": "v_p1_lib2",
elessair 0:f269e3021894 14 "lib2.p2": "v_p2_lib2"
elessair 0:f269e3021894 15 },
elessair 0:f269e3021894 16 "b1": {
elessair 0:f269e3021894 17 "desc": "override values based on labels with libs - invalid override (first label)",
elessair 0:f269e3021894 18 "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]"
elessair 0:f269e3021894 19 },
elessair 0:f269e3021894 20 "b2": {
elessair 0:f269e3021894 21 "desc": "override values based on labels with libs (second label)",
elessair 0:f269e3021894 22 "app.app1": "v_app1",
elessair 0:f269e3021894 23 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 24 "lib1.p1": "v_p1_lib1",
elessair 0:f269e3021894 25 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 26 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 27 "lib2.p1": "v_p1_lib2[b2_label]",
elessair 0:f269e3021894 28 "lib2.p2": "v_p2_lib2[b2_label]"
elessair 0:f269e3021894 29 },
elessair 0:f269e3021894 30 "both": {
elessair 0:f269e3021894 31 "desc": "override values based on labels with libs - invalid override (both labels)",
elessair 0:f269e3021894 32 "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]"
elessair 0:f269e3021894 33 },
elessair 0:f269e3021894 34 }