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 builds on top of test8 by adding target-conditional overrides in mbed_app_config.json.
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, target params and target overrides (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 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 14 "target.par2": "v_par2_base",
elessair 0:f269e3021894 15 "target.par3": "v_par3_base"
elessair 0:f269e3021894 16 },
elessair 0:f269e3021894 17 "b1": {
elessair 0:f269e3021894 18 "desc": "override values based on labels with libs, target params and target overrides (first label)",
elessair 0:f269e3021894 19 "app.app1": "v_app1[b1_label_label]",
elessair 0:f269e3021894 20 "app.app2": "v_app2",
elessair 0:f269e3021894 21 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 22 "lib1.p2": "v_p2_lib1",
elessair 0:f269e3021894 23 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 24 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 25 "lib2.p2": "v_p2_lib2[b1_label]",
elessair 0:f269e3021894 26 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 27 "target.par2": "v_par2_base",
elessair 0:f269e3021894 28 "target.par3": "v_par3_base"
elessair 0:f269e3021894 29 },
elessair 0:f269e3021894 30 "b2": {
elessair 0:f269e3021894 31 "desc": "override values based on labels with libs, target params and target overrides (second label)",
elessair 0:f269e3021894 32 "app.app1": "v_app1",
elessair 0:f269e3021894 33 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 34 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 35 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 36 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 37 "lib2.p1": "v_p1_lib2_app",
elessair 0:f269e3021894 38 "lib2.p2": "v_p2_lib2[b2_label]",
elessair 0:f269e3021894 39 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 40 "target.par2": "v_par2_b2",
elessair 0:f269e3021894 41 "target.par3": "v_par3_base"
elessair 0:f269e3021894 42 },
elessair 0:f269e3021894 43 "both": {
elessair 0:f269e3021894 44 "desc": "override values based on labels with libs, target params and target overrides (both labels)",
elessair 0:f269e3021894 45 "app.app1": "v_app1[b1_label_label]",
elessair 0:f269e3021894 46 "app.app2": "v_app2[b2_label]",
elessair 0:f269e3021894 47 "lib1.p1": "v_p1_lib1_app",
elessair 0:f269e3021894 48 "lib1.p2": "v_p2_lib1[b2_label]",
elessair 0:f269e3021894 49 "lib1.p3": "v_p3_lib1_app",
elessair 0:f269e3021894 50 "lib2.p1": "v_p1_lib2_app[both_label]",
elessair 0:f269e3021894 51 "lib2.p2": "v_p2_lib2[b2_label]",
elessair 0:f269e3021894 52 "target.par1": "v_par1_target_app",
elessair 0:f269e3021894 53 "target.par2": "v_par2_b2",
elessair 0:f269e3021894 54 "target.par3": "v_par3_both",
elessair 0:f269e3021894 55 "target.par4": "v_par4_app[both_label]"
elessair 0:f269e3021894 56 }
elessair 0:f269e3021894 57 }