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 test7 by adding some configuration values in targets
elessair 0:f269e3021894 2 # and overriding them in the application
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 and target params (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_app",
elessair 0:f269e3021894 10 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 11 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 12 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 13 "lib2.p2": "v_p2_lib2",
elessair 0:f269e3021894 14 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 15 "target.par2": "v_par2_base",
elessair 0:f269e3021894 16 "target.par3": "v_par3_base"
elessair 0:f269e3021894 17 },
elessair 0:f269e3021894 18 "b1": {
elessair 0:f269e3021894 19 "desc": "override values based on labels with libs and target params (first label)",
elessair 0:f269e3021894 20 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 21 "app.app2": "v_app2",
elessair 0:f269e3021894 22 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 23 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 24 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 25 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 26 "lib2.p2": "v_p2_lib2[b1_label]",
elessair 0:f269e3021894 27 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 28 "target.par2": "v_par2_base",
elessair 0:f269e3021894 29 "target.par3": "v_par3_base"
elessair 0:f269e3021894 30 },
elessair 0:f269e3021894 31 "b2": {
elessair 0:f269e3021894 32 "desc": "override values based on labels with libs and target params (second label)",
elessair 0:f269e3021894 33 "app.app1": "v_app1",
elessair 0:f269e3021894 34 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 35 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 36 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 37 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 38 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 39 "lib2.p2": "v_p2_lib2[b2_label]",
elessair 0:f269e3021894 40 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 41 "target.par2": "v_par2_b2",
elessair 0:f269e3021894 42 "target.par3": "v_par3_base"
elessair 0:f269e3021894 43 },
elessair 0:f269e3021894 44 "both": {
elessair 0:f269e3021894 45 "desc": "override values based on labels with libs and target params (both labels)",
elessair 0:f269e3021894 46 "app.app1": "v_app1[b1_label]",
elessair 0:f269e3021894 47 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 48 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 49 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 50 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 51 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 52 "lib2.p2": "v_p2_lib2[b2_label]",
elessair 0:f269e3021894 53 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 54 "target.par2": "v_par2_b2",
elessair 0:f269e3021894 55 "target.par3": "v_par3_both",
elessair 0:f269e3021894 56 "target.par4": "v_par4_both"
elessair 0:f269e3021894 57 }
elessair 0:f269e3021894 58 }