mbed-os

Fork of mbed-os by erkin yucel

Committer:
xuaner
Date:
Thu Jul 20 14:26:57 2017 +0000
Revision:
1:3deb71413561
Parent:
0:f269e3021894
mbed_os

Who changed what in which revision?

UserRevisionLine numberNew 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 }