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