mbed-os for GR-LYCHEE
Dependents: mbed-os-example-blinky-gr-lychee GR-Boads_Camera_sample GR-Boards_Audio_Recoder GR-Boads_Camera_DisplayApp ... more
tools/test/config_test/test10/test_data.py@0:f782d9c66c49, 2018-02-02 (annotated)
- Committer:
- dkato
- Date:
- Fri Feb 02 05:42:23 2018 +0000
- Revision:
- 0:f782d9c66c49
mbed-os for GR-LYCHEE
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dkato | 0:f782d9c66c49 | 1 | # This builds on top of test8 by adding target-conditional overrides in mbed_app_config.json. |
dkato | 0:f782d9c66c49 | 2 | |
dkato | 0:f782d9c66c49 | 3 | expected_results = { |
dkato | 0:f782d9c66c49 | 4 | "base": { |
dkato | 0:f782d9c66c49 | 5 | "desc": "override values based on labels with libs, target params and target overrides (no labels)", |
dkato | 0:f782d9c66c49 | 6 | "app.app1": "v_app1", |
dkato | 0:f782d9c66c49 | 7 | "app.app2": "v_app2", |
dkato | 0:f782d9c66c49 | 8 | "lib1.p1": "v_p1_lib1_app", |
dkato | 0:f782d9c66c49 | 9 | "lib1.p2": "v_p2_lib1", |
dkato | 0:f782d9c66c49 | 10 | "lib1.p3": "v_p3_lib1_app", |
dkato | 0:f782d9c66c49 | 11 | "lib2.p1": "v_p1_lib2_app", |
dkato | 0:f782d9c66c49 | 12 | "lib2.p2": "v_p2_lib2", |
dkato | 0:f782d9c66c49 | 13 | "target.par1": "v_par1_target_app", |
dkato | 0:f782d9c66c49 | 14 | "target.par2": "v_par2_base", |
dkato | 0:f782d9c66c49 | 15 | "target.par3": "v_par3_base" |
dkato | 0:f782d9c66c49 | 16 | }, |
dkato | 0:f782d9c66c49 | 17 | "b1": { |
dkato | 0:f782d9c66c49 | 18 | "desc": "override values based on labels with libs, target params and target overrides (first label)", |
dkato | 0:f782d9c66c49 | 19 | "app.app1": "v_app1[b1_label_label]", |
dkato | 0:f782d9c66c49 | 20 | "app.app2": "v_app2", |
dkato | 0:f782d9c66c49 | 21 | "lib1.p1": "v_p1_lib1_app", |
dkato | 0:f782d9c66c49 | 22 | "lib1.p2": "v_p2_lib1", |
dkato | 0:f782d9c66c49 | 23 | "lib1.p3": "v_p3_lib1_app", |
dkato | 0:f782d9c66c49 | 24 | "lib2.p1": "v_p1_lib2_app", |
dkato | 0:f782d9c66c49 | 25 | "lib2.p2": "v_p2_lib2[b1_label]", |
dkato | 0:f782d9c66c49 | 26 | "target.par1": "v_par1_target_app", |
dkato | 0:f782d9c66c49 | 27 | "target.par2": "v_par2_base", |
dkato | 0:f782d9c66c49 | 28 | "target.par3": "v_par3_base" |
dkato | 0:f782d9c66c49 | 29 | }, |
dkato | 0:f782d9c66c49 | 30 | "b2": { |
dkato | 0:f782d9c66c49 | 31 | "desc": "override values based on labels with libs, target params and target overrides (second label)", |
dkato | 0:f782d9c66c49 | 32 | "app.app1": "v_app1", |
dkato | 0:f782d9c66c49 | 33 | "app.app2": "v_app2[b2_label]", |
dkato | 0:f782d9c66c49 | 34 | "lib1.p1": "v_p1_lib1_app", |
dkato | 0:f782d9c66c49 | 35 | "lib1.p2": "v_p2_lib1[b2_label]", |
dkato | 0:f782d9c66c49 | 36 | "lib1.p3": "v_p3_lib1_app", |
dkato | 0:f782d9c66c49 | 37 | "lib2.p1": "v_p1_lib2_app", |
dkato | 0:f782d9c66c49 | 38 | "lib2.p2": "v_p2_lib2[b2_label]", |
dkato | 0:f782d9c66c49 | 39 | "target.par1": "v_par1_target_app", |
dkato | 0:f782d9c66c49 | 40 | "target.par2": "v_par2_b2", |
dkato | 0:f782d9c66c49 | 41 | "target.par3": "v_par3_base" |
dkato | 0:f782d9c66c49 | 42 | }, |
dkato | 0:f782d9c66c49 | 43 | "both": { |
dkato | 0:f782d9c66c49 | 44 | "desc": "override values based on labels with libs, target params and target overrides (both labels)", |
dkato | 0:f782d9c66c49 | 45 | "app.app1": "v_app1[b1_label_label]", |
dkato | 0:f782d9c66c49 | 46 | "app.app2": "v_app2[b2_label]", |
dkato | 0:f782d9c66c49 | 47 | "lib1.p1": "v_p1_lib1_app", |
dkato | 0:f782d9c66c49 | 48 | "lib1.p2": "v_p2_lib1[b2_label]", |
dkato | 0:f782d9c66c49 | 49 | "lib1.p3": "v_p3_lib1_app", |
dkato | 0:f782d9c66c49 | 50 | "lib2.p1": "v_p1_lib2_app[both_label]", |
dkato | 0:f782d9c66c49 | 51 | "lib2.p2": "v_p2_lib2[b2_label]", |
dkato | 0:f782d9c66c49 | 52 | "target.par1": "v_par1_target_app", |
dkato | 0:f782d9c66c49 | 53 | "target.par2": "v_par2_b2", |
dkato | 0:f782d9c66c49 | 54 | "target.par3": "v_par3_both", |
dkato | 0:f782d9c66c49 | 55 | "target.par4": "v_par4_app[both_label]" |
dkato | 0:f782d9c66c49 | 56 | } |
dkato | 0:f782d9c66c49 | 57 | } |