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/test09/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 test6 by adding an invalid override in mbed_app_override.json for b1_label. |
dkato | 0:f782d9c66c49 | 2 | # This will prevent the configuration for working for b1 and both, but it should still |
dkato | 0:f782d9c66c49 | 3 | # work for base and b2. |
dkato | 0:f782d9c66c49 | 4 | |
dkato | 0:f782d9c66c49 | 5 | expected_results = { |
dkato | 0:f782d9c66c49 | 6 | "base": { |
dkato | 0:f782d9c66c49 | 7 | "desc": "override values based on labels with libs (no labels)", |
dkato | 0:f782d9c66c49 | 8 | "app.app1": "v_app1", |
dkato | 0:f782d9c66c49 | 9 | "app.app2": "v_app2", |
dkato | 0:f782d9c66c49 | 10 | "lib1.p1": "v_p1_lib1", |
dkato | 0:f782d9c66c49 | 11 | "lib1.p2": "v_p2_lib1", |
dkato | 0:f782d9c66c49 | 12 | "lib1.p3": "v_p3_lib1", |
dkato | 0:f782d9c66c49 | 13 | "lib2.p1": "v_p1_lib2", |
dkato | 0:f782d9c66c49 | 14 | "lib2.p2": "v_p2_lib2" |
dkato | 0:f782d9c66c49 | 15 | }, |
dkato | 0:f782d9c66c49 | 16 | "b1": { |
dkato | 0:f782d9c66c49 | 17 | "desc": "override values based on labels with libs - invalid override (first label)", |
dkato | 0:f782d9c66c49 | 18 | "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" |
dkato | 0:f782d9c66c49 | 19 | }, |
dkato | 0:f782d9c66c49 | 20 | "b2": { |
dkato | 0:f782d9c66c49 | 21 | "desc": "override values based on labels with libs (second label)", |
dkato | 0:f782d9c66c49 | 22 | "app.app1": "v_app1", |
dkato | 0:f782d9c66c49 | 23 | "app.app2": "v_app2[b2_label]", |
dkato | 0:f782d9c66c49 | 24 | "lib1.p1": "v_p1_lib1", |
dkato | 0:f782d9c66c49 | 25 | "lib1.p2": "v_p2_lib1[b2_label]", |
dkato | 0:f782d9c66c49 | 26 | "lib1.p3": "v_p3_lib1", |
dkato | 0:f782d9c66c49 | 27 | "lib2.p1": "v_p1_lib2[b2_label]", |
dkato | 0:f782d9c66c49 | 28 | "lib2.p2": "v_p2_lib2[b2_label]" |
dkato | 0:f782d9c66c49 | 29 | }, |
dkato | 0:f782d9c66c49 | 30 | "both": { |
dkato | 0:f782d9c66c49 | 31 | "desc": "override values based on labels with libs - invalid override (both labels)", |
dkato | 0:f782d9c66c49 | 32 | "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" |
dkato | 0:f782d9c66c49 | 33 | }, |
dkato | 0:f782d9c66c49 | 34 | } |