Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510
test_data.py
00001 # This build on top of test6 by adding an invalid override in mbed_app_override.json for b1_label. 00002 # This will prevent the configuration for working for b1 and both, but it should still 00003 # work for base and b2. 00004 00005 expected_results = { 00006 "base": { 00007 "desc": "override values based on labels with libs (no labels)", 00008 "app.app1": "v_app1", 00009 "app.app2": "v_app2", 00010 "lib1.p1": "v_p1_lib1", 00011 "lib1.p2": "v_p2_lib1", 00012 "lib1.p3": "v_p3_lib1", 00013 "lib2.p1": "v_p1_lib2", 00014 "lib2.p2": "v_p2_lib2" 00015 }, 00016 "b1": { 00017 "desc": "override values based on labels with libs - invalid override (first label)", 00018 "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" 00019 }, 00020 "b2": { 00021 "desc": "override values based on labels with libs (second label)", 00022 "app.app1": "v_app1", 00023 "app.app2": "v_app2[b2_label]", 00024 "lib1.p1": "v_p1_lib1", 00025 "lib1.p2": "v_p2_lib1[b2_label]", 00026 "lib1.p3": "v_p3_lib1", 00027 "lib2.p1": "v_p1_lib2[b2_label]", 00028 "lib2.p2": "v_p2_lib2[b2_label]" 00029 }, 00030 "both": { 00031 "desc": "override values based on labels with libs - invalid override (both labels)", 00032 "exception_msg": "Attempt to override undefined parameter 'app.app_wrong' in 'application[b1_label]" 00033 }, 00034 }
Generated on Tue Jul 12 2022 11:02:55 by
