mbed-os

Fork of mbed-os by erkin yucel

Revision:
0:f269e3021894
diff -r 000000000000 -r f269e3021894 tools/test/config_test/test16/test_data.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/test/config_test/test16/test_data.py	Sun Oct 23 15:10:02 2016 +0000
@@ -0,0 +1,12 @@
+# Macro test: defined macros in the top level app and 2 libs, check if they
+# are reported properly.
+# The app defines one macro with value the same as lib2, while lib2 defined
+# the same macro without value as lib1. Since the definitions are comptabile,
+# no error should be raised
+
+expected_results = {
+    "test_target": {
+        "desc": "test macro definitions",
+        "expected_macros": ["APP1=10", "APP2", "LIB1_1=1","LIB1_2", "LIB2_1=5"]
+    }
+}