aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-06-22 19:06:38 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-06-25 13:32:41 +0000
commit4de23ccb87bc93afefded644edd4285ee1d7a6dd (patch)
treeb2f024872ae0192d24e8a61e12f2351188cb50a9 /tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c
parentd5c901505667dce23621add4280277f288cd168f (diff)
baremetal: Add auto-test for 'static library' dependenties
This commit adds a blackbox auto-test which provides a project with a multiple static library products 'a-e' and an one application product. An application depends on the 'e' library, but this library also depends on other libraries 'a-d'. Tested for MCS51 architecture with IAR, KEIL, and SDCC toolchains. Change-Id: Ib79f4f7bed4ac0bf6f06d39705bb19bd4284f22d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c')
-rw-r--r--tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c b/tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c
new file mode 100644
index 000000000..35ab7feb3
--- /dev/null
+++ b/tests/auto/blackbox/testdata-baremetal/static-library-dependencies/a2.c
@@ -0,0 +1,4 @@
+int a2(void)
+{
+ return 0;
+}