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 overrides for libs in the application 00002 00003 expected_results = { 00004 "base": { 00005 "desc": "override values based on labels with libs (no labels)", 00006 "app.app1": "v_app1", 00007 "app.app2": "v_app2", 00008 "lib1.p1": "v_p1_lib1_app", 00009 "lib1.p2": "v_p2_lib1", 00010 "lib1.p3": "v_p3_lib1_app", 00011 "lib2.p1": "v_p1_lib2_app", 00012 "lib2.p2": "v_p2_lib2" 00013 }, 00014 "b1": { 00015 "desc": "override values based on labels with libs (first label)", 00016 "app.app1": "v_app1[b1_label]", 00017 "app.app2": "v_app2", 00018 "lib1.p1": "v_p1_lib1_app", 00019 "lib1.p2": "v_p2_lib1", 00020 "lib1.p3": "v_p3_lib1_app", 00021 "lib2.p1": "v_p1_lib2_app", 00022 "lib2.p2": "v_p2_lib2[b1_label]" 00023 }, 00024 "b2": { 00025 "desc": "override values based on labels with libs (second label)", 00026 "app.app1": "v_app1", 00027 "app.app2": "v_app2[b2_label]", 00028 "lib1.p1": "v_p1_lib1_app", 00029 "lib1.p2": "v_p2_lib1[b2_label]", 00030 "lib1.p3": "v_p3_lib1_app", 00031 "lib2.p1": "v_p1_lib2_app", 00032 "lib2.p2": "v_p2_lib2[b2_label]" 00033 }, 00034 # The values for lib2.p1 and lib2.p2 illustrate how overriding on multiple 00035 # labels work. In lib2, both lib2.p1 and lib2.p2 are overriden for both 00036 # labels (b1_label and b2_label). However, since "b2_label" is specified 00037 # after "b1_label", it sets the final values of the overrides. 00038 "both": { 00039 "desc": "override values based on labels with libs (both labels)", 00040 "app.app1": "v_app1[b1_label]", 00041 "app.app2": "v_app2[b2_label]", 00042 "lib1.p1": "v_p1_lib1_app", 00043 "lib1.p2": "v_p2_lib1[b2_label]", 00044 "lib1.p3": "v_p3_lib1_app", 00045 "lib2.p1": "v_p1_lib2_app", 00046 "lib2.p2": "v_p2_lib2[b2_label]" 00047 } 00048 }
Generated on Tue Jul 12 2022 11:02:55 by
