summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-07-26 00:08:09 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-07-27 08:32:48 +0000
commit65b6a14dd4805d9da48d9a7cc0fcea04c446356f (patch)
treea0767a538d25c540bc3530f3c8ea53a8e145687a /tests/auto/blackbox
parent5611734093badedf49bbf4ed1c33c1063006fe8c (diff)
downloadqbs-65b6a14dd4805d9da48d9a7cc0fcea04c446356f.tar.gz
baremetal: Pass 'one-object-asm-application' test for IAR M16C
Change-Id: I0883765453fcf998db875110c16102a64d9f6602 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox')
-rw-r--r--tests/auto/blackbox/testdata-baremetal/one-object-asm-application/m16c-iar.s6
-rw-r--r--tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs2
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/m16c-iar.s b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/m16c-iar.s
new file mode 100644
index 000000000..4153f290e
--- /dev/null
+++ b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/m16c-iar.s
@@ -0,0 +1,6 @@
+ PUBLIC main
+ RSEG CODE:CODE:REORDER:NOROOT(0)
+main:
+ MOV.W #0x0, R0
+ RTS
+ END
diff --git a/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs
index 1566bfa22..fdcff628a 100644
--- a/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs
+++ b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs
@@ -38,6 +38,8 @@ BareMetalApplication {
return true;
if (qbs.architecture === "cr16")
return true;
+ if (qbs.architecture === "m16c")
+ return true;
} else if (qbs.toolchainType === "sdcc") {
if (qbs.architecture === "mcs51")
return true;