mbed-os
Fork of mbed-os by
tools/test/config_test/test16/test_data.py@0:f269e3021894, 2016-10-23 (annotated)
- Committer:
- elessair
- Date:
- Sun Oct 23 15:10:02 2016 +0000
- Revision:
- 0:f269e3021894
Initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
elessair | 0:f269e3021894 | 1 | # Macro test: defined macros in the top level app and 2 libs, check if they |
elessair | 0:f269e3021894 | 2 | # are reported properly. |
elessair | 0:f269e3021894 | 3 | # The app defines one macro with value the same as lib2, while lib2 defined |
elessair | 0:f269e3021894 | 4 | # the same macro without value as lib1. Since the definitions are comptabile, |
elessair | 0:f269e3021894 | 5 | # no error should be raised |
elessair | 0:f269e3021894 | 6 | |
elessair | 0:f269e3021894 | 7 | expected_results = { |
elessair | 0:f269e3021894 | 8 | "test_target": { |
elessair | 0:f269e3021894 | 9 | "desc": "test macro definitions", |
elessair | 0:f269e3021894 | 10 | "expected_macros": ["APP1=10", "APP2", "LIB1_1=1","LIB1_2", "LIB2_1=5"] |
elessair | 0:f269e3021894 | 11 | } |
elessair | 0:f269e3021894 | 12 | } |