aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2021-04-06 10:04:00 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2021-04-07 11:24:47 +0000
commit5720a12ffb1ede3b9bac039f737fe868387221b3 (patch)
tree1675a5797d17e954c4179744405cdc3234f31d19 /tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c
parent475cf5064e04009ffdc730d7915b52af58c3dd69 (diff)
baremetal: Improve 'compiler-listing' test
We do not need multiple test data instances (*.qbs) for each property, because we can pass the required properties from the C++ code directly. Also now we can know about the compiler listing file suffix directly, through the cpp.compilerListingSuffix property. Change-Id: I644277458e3ae460cbfb6bba4a24583d9e6ba3e1 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c')
-rw-r--r--tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c b/tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c
new file mode 100644
index 000000000..3b8c8f2f4
--- /dev/null
+++ b/tests/auto/blackbox/testdata-baremetal/compiler-listing/fun.c
@@ -0,0 +1,4 @@
+int f(void)
+{
+ return 0;
+}