aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-06-16 20:35:32 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-06-17 07:52:48 +0000
commit40f71f6e046caac55ac67da4577e9f56a1592514 (patch)
tree68fb13a54832fcf6ca2c86f735f9a4fa82ddf81b /tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h
parent7ac0759dcb6c7e1b2b5a99ee73cbaec7d8014692 (diff)
baremetal: Add auto-test for cpp.systemIncludePaths property
This commit adds a blackbox auto-test which compiles an application using two include paths foo and bar. Tested for MCS51 architecture with IAR, KEIL, and SDCC toolchains. Change-Id: If68be8f120a0ef760f6ca5b3674dfd49f2cf8a7f Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h')
-rw-r--r--tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h b/tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h
new file mode 100644
index 000000000..dc510379d
--- /dev/null
+++ b/tests/auto/blackbox/testdata-baremetal/system-include-paths/foo/foo.h
@@ -0,0 +1,6 @@
+#ifndef FOO_H
+#define FOO_H
+
+#define FOO_VALUE 1
+
+#endif // FOO_H