ON Semiconductor / mbed-os

Dependents:   mbed-TFT-example-NCS36510 mbed-Accelerometer-example-NCS36510 mbed-Accelerometer-example-NCS36510

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers test_data.py Source File

test_data.py

00001 # Macro test: defined macros in the top level app and 2 libs, check if they
00002 # are reported properly.
00003 # The app defines one macro with value the same as lib2, while lib2 defined
00004 # the same macro without value as lib1. Since the definitions are comptabile,
00005 # no error should be raised
00006 
00007 expected_results = {
00008     "test_target": {
00009         "desc": "test macro definitions",
00010         "expected_macros": ["APP1=10", "APP2", "LIB1_1=1","LIB1_2", "LIB2_1=5"]
00011     }
00012 }