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 test5 by adding a few libraries with their own configurations
elessair 0:f269e3021894 2 # and overrides. The same targets are used for building and testing (base, b1, b2, both)
elessair 0:f269e3021894 3
elessair 0:f269e3021894 4 expected_results = {
elessair 0:f269e3021894 5 "base": {
elessair 0:f269e3021894 6 "desc": "override values based on labels with libs (no labels)",
elessair 0:f269e3021894 7 "app.app1": "v_app1",
elessair 0:f269e3021894 8 "app.app2": "v_app2",
elessair 0:f269e3021894 9 "lib1.p1": "v_p1_lib1",
elessair 0:f269e3021894 10 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 11 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 12 "lib2.p1": "v_p1_lib2",
elessair 0:f269e3021894 13 "lib2.p2": "v_p2_lib2"
elessair 0:f269e3021894 14 },
elessair 0:f269e3021894 15 "b1": {
elessair 0:f269e3021894 16 "desc": "override values based on labels with libs (first label)",
elessair 0:f269e3021894 17 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 18 "app.app2": "v_app2",
elessair 0:f269e3021894 19 "lib1.p1": "v_p1_lib1[b1_label]",
elessair 0:f269e3021894 20 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 21 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 22 "lib2.p1": "v_p1_lib2[b1_label]",
elessair 0:f269e3021894 23 "lib2.p2": "v_p2_lib2[b1_label]"
elessair 0:f269e3021894 24 },
elessair 0:f269e3021894 25 "b2": {
elessair 0:f269e3021894 26 "desc": "override values based on labels with libs (second label)",
elessair 0:f269e3021894 27 "app.app1": "v_app1",
elessair 0:f269e3021894 28 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 29 "lib1.p1": "v_p1_lib1",
elessair 0:f269e3021894 30 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 31 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 32 "lib2.p1": "v_p1_lib2[b2_label]",
elessair 0:f269e3021894 33 "lib2.p2": "v_p2_lib2[b2_label]"
elessair 0:f269e3021894 34 },
elessair 0:f269e3021894 35 # The values for lib2.p1 and lib2.p2 illustrate how overriding on multiple
elessair 0:f269e3021894 36 # labels work. In lib2, both lib2.p1 and lib2.p2 are overriden for both
elessair 0:f269e3021894 37 # labels (b1_label and b2_label). However, since "b2_label" is specified
elessair 0:f269e3021894 38 # after "b1_label", it sets the final values of the overrides.
elessair 0:f269e3021894 39 "both": {
elessair 0:f269e3021894 40 "desc": "override values based on labels with libs (both labels)",
elessair 0:f269e3021894 41 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 42 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 43 "lib1.p1": "v_p1_lib1[b1_label]",
elessair 0:f269e3021894 44 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 45 "lib1.p3": "v_p3_lib1",
elessair 0:f269e3021894 46 "lib2.p1": "v_p1_lib2[b2_label]",
elessair 0:f269e3021894 47 "lib2.p2": "v_p2_lib2[b2_label]"
elessair 0:f269e3021894 48 },
elessair 0:f269e3021894 49 }