Clone of official tools

Committer:
Screamer@Y5070-M.virtuoso
Date:
Tue Jun 14 11:07:30 2016 +0100
Revision:
9:2d27d77ada5c
Updated tools based on latest live tools code

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 1 # This build on top of test5 by adding a few libraries with their own configurations
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 2 # and overrides. The same targets are used for building and testing (base, b1, b2, both)
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 3
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 4 expected_results = {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 5 "base": {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 6 "desc": "override values based on labels with libs (no labels)",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 7 "app.app1": "v_app1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 8 "app.app2": "v_app2",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 9 "lib1.p1": "v_p1_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 10 "lib1.p2": "v_p2_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 11 "lib1.p3": "v_p3_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 12 "lib2.p1": "v_p1_lib2",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 13 "lib2.p2": "v_p2_lib2"
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 14 },
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 15 "b1": {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 16 "desc": "override values based on labels with libs (first label)",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 17 "app.app1": "v_app1[b1_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 18 "app.app2": "v_app2",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 19 "lib1.p1": "v_p1_lib1[b1_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 20 "lib1.p2": "v_p2_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 21 "lib1.p3": "v_p3_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 22 "lib2.p1": "v_p1_lib2[b1_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 23 "lib2.p2": "v_p2_lib2[b1_label]"
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 24 },
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 25 "b2": {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 26 "desc": "override values based on labels with libs (second label)",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 27 "app.app1": "v_app1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 28 "app.app2": "v_app2[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 29 "lib1.p1": "v_p1_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 30 "lib1.p2": "v_p2_lib1[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 31 "lib1.p3": "v_p3_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 32 "lib2.p1": "v_p1_lib2[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 33 "lib2.p2": "v_p2_lib2[b2_label]"
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 34 },
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 35 # The values for lib2.p1 and lib2.p2 illustrate how overriding on multiple
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 36 # labels work. In lib2, both lib2.p1 and lib2.p2 are overriden for both
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 37 # labels (b1_label and b2_label). However, since "b2_label" is specified
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 38 # after "b1_label", it sets the final values of the overrides.
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 39 "both": {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 40 "desc": "override values based on labels with libs (both labels)",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 41 "app.app1": "v_app1[b1_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 42 "app.app2": "v_app2[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 43 "lib1.p1": "v_p1_lib1[b1_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 44 "lib1.p2": "v_p2_lib1[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 45 "lib1.p3": "v_p3_lib1",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 46 "lib2.p1": "v_p1_lib2[b2_label]",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 47 "lib2.p2": "v_p2_lib2[b2_label]"
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 48 },
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 49 }