mbed-os

Fork of mbed-os by erkin yucel

Committer:
elessair
Date:
Sun Oct 23 15:10:02 2016 +0000
Revision:
0:f269e3021894
Initial commit

Who changed what in which revision?

UserRevisionLine numberNew contents of line
elessair 0:f269e3021894 1 # This build on top of test6 by adding overrides for libs in the application
elessair 0:f269e3021894 2
elessair 0:f269e3021894 3 expected_results = {
elessair 0:f269e3021894 4 "base": {
elessair 0:f269e3021894 5 "desc": "override values based on labels with libs (no labels)",
elessair 0:f269e3021894 6 "app.app1": "v_app1",
elessair 0:f269e3021894 7 "app.app2": "v_app2",
elessair 0:f269e3021894 8 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 9 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 10 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 11 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 12 "lib2.p2": "v_p2_lib2"
elessair 0:f269e3021894 13 },
elessair 0:f269e3021894 14 "b1": {
elessair 0:f269e3021894 15 "desc": "override values based on labels with libs (first label)",
elessair 0:f269e3021894 16 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 17 "app.app2": "v_app2",
elessair 0:f269e3021894 18 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 19 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 20 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 21 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 22 "lib2.p2": "v_p2_lib2[b1_label]"
elessair 0:f269e3021894 23 },
elessair 0:f269e3021894 24 "b2": {
elessair 0:f269e3021894 25 "desc": "override values based on labels with libs (second label)",
elessair 0:f269e3021894 26 "app.app1": "v_app1",
elessair 0:f269e3021894 27 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 28 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 29 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 30 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 31 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 32 "lib2.p2": "v_p2_lib2[b2_label]"
elessair 0:f269e3021894 33 },
elessair 0:f269e3021894 34 # The values for lib2.p1 and lib2.p2 illustrate how overriding on multiple
elessair 0:f269e3021894 35 # labels work. In lib2, both lib2.p1 and lib2.p2 are overriden for both
elessair 0:f269e3021894 36 # labels (b1_label and b2_label). However, since "b2_label" is specified
elessair 0:f269e3021894 37 # after "b1_label", it sets the final values of the overrides.
elessair 0:f269e3021894 38 "both": {
elessair 0:f269e3021894 39 "desc": "override values based on labels with libs (both labels)",
elessair 0:f269e3021894 40 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 41 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 42 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 43 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 44 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 45 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 46 "lib2.p2": "v_p2_lib2[b2_label]"
elessair 0:f269e3021894 47 }
elessair 0:f269e3021894 48 }