Anders Blomdell / mbed-sdk-tools
Committer:
Screamer@Y5070-M.virtuoso
Date:
Tue Jun 14 11:07:30 2016 +0100
Revision:
9:2d27d77ada5c
Child:
13:ab47a20b66f0
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 # Macro test: defined macros in the top level app and 2 libs, check if they
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 2 # are reported properly.
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 3 # The app defines one macro with value the same as lib2, while lib2 defined
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 4 # the same macro without value as lib1. Since the definitions are comptabile,
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 5 # no error should be raised
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 6
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 7 expected_results = {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 8 "K64F": {
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 9 "desc": "test macro definitions",
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 10 "expected_macros": ["APP1=10", "APP2", "LIB1_1=1","LIB1_2", "LIB2_1=5"]
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 11 }
Screamer@Y5070-M.virtuoso 9:2d27d77ada5c 12 }