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.
Fork of mbed-os by
test_data.py
00001 # This build on top of test5 by adding a few libraries with their own configurations 00002 # and overrides. The same targets are used for building and testing (base, b1, b2, both) 00003 00004 expected_results = { 00005 "base": { 00006 "desc": "override values based on labels with libs (no labels)", 00007 "app.app1": "v_app1", 00008 "app.app2": "v_app2", 00009 "lib1.p1": "v_p1_lib1", 00010 "lib1.p2": "v_p2_lib1", 00011 "lib1.p3": "v_p3_lib1", 00012 "lib2.p1": "v_p1_lib2", 00013 "lib2.p2": "v_p2_lib2" 00014 }, 00015 "b1": { 00016 "desc": "override values based on labels with libs (first label)", 00017 "app.app1": "v_app1[b1_label]", 00018 "app.app2": "v_app2", 00019 "lib1.p1": "v_p1_lib1[b1_label]", 00020 "lib1.p2": "v_p2_lib1", 00021 "lib1.p3": "v_p3_lib1", 00022 "lib2.p1": "v_p1_lib2[b1_label]", 00023 "lib2.p2": "v_p2_lib2[b1_label]" 00024 }, 00025 "b2": { 00026 "desc": "override values based on labels with libs (second label)", 00027 "app.app1": "v_app1", 00028 "app.app2": "v_app2[b2_label]", 00029 "lib1.p1": "v_p1_lib1", 00030 "lib1.p2": "v_p2_lib1[b2_label]", 00031 "lib1.p3": "v_p3_lib1", 00032 "lib2.p1": "v_p1_lib2[b2_label]", 00033 "lib2.p2": "v_p2_lib2[b2_label]" 00034 }, 00035 # The values for lib2.p1 and lib2.p2 illustrate how overriding on multiple 00036 # labels work. In lib2, both lib2.p1 and lib2.p2 are overriden for both 00037 # labels (b1_label and b2_label). However, since "b2_label" is specified 00038 # after "b1_label", it sets the final values of the overrides. 00039 "both": { 00040 "desc": "override values based on labels with libs (both labels)", 00041 "app.app1": "v_app1[b1_label]", 00042 "app.app2": "v_app2[b2_label]", 00043 "lib1.p1": "v_p1_lib1[b1_label]", 00044 "lib1.p2": "v_p2_lib1[b2_label]", 00045 "lib1.p3": "v_p3_lib1", 00046 "lib2.p1": "v_p1_lib2[b2_label]", 00047 "lib2.p2": "v_p2_lib2[b2_label]" 00048 }, 00049 }
Generated on Tue Jul 12 2022 13:16:14 by
