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
Diff: tools/test/config_test/test09/test_data.py
- Revision:
- 0:f782d9c66c49
diff -r 000000000000 -r f782d9c66c49 tools/test/config_test/test09/test_data.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/test/config_test/test09/test_data.py Fri Feb 02 05:42:23 2018 +0000 @@ -0,0 +1,34 @@ +# This build on top of test6 by adding an invalid override in mbed_app_override.json for b1_label. +# This will prevent the configuration for working for b1 and both, but it should still +# work for base and b2. + +expected_results = { + "base": { + "desc": "override values based on labels with libs (no labels)", + "app.app1": "v_app1", + "app.app2": "v_app2", + "lib1.p1": "v_p1_lib1", + "lib1.p2": "v_p2_lib1", + "lib1.p3": "v_p3_lib1", + "lib2.p1": "v_p1_lib2", + "lib2.p2": "v_p2_lib2" + }, + "b1": { + "desc": "override values based on labels with libs - invalid override (first label)", + "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" + }, + "b2": { + "desc": "override values based on labels with libs (second label)", + "app.app1": "v_app1", + "app.app2": "v_app2[b2_label]", + "lib1.p1": "v_p1_lib1", + "lib1.p2": "v_p2_lib1[b2_label]", + "lib1.p3": "v_p3_lib1", + "lib2.p1": "v_p1_lib2[b2_label]", + "lib2.p2": "v_p2_lib2[b2_label]" + }, + "both": { + "desc": "override values based on labels with libs - invalid override (both labels)", + "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" + }, +}