diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-25 23:49:19 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-07-27 07:32:17 +0000 |
commit | 78b11b11622501e05ac4c52f29a36ac1b5aee51e (patch) | |
tree | cb352ae8eb98806976b203e7f5d7226915f79bda /tests/auto | |
parent | 01c75b48d8058dd2d88aa6b7d11cd281d1c14258 (diff) | |
download | qbs-78b11b11622501e05ac4c52f29a36ac1b5aee51e.tar.gz |
baremetal: Pass 'one-object-asm-application' test for IAR SH
Change-Id: I1788be0c6359cb7d7668955686e4c5057519b332
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs | 2 | ||||
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/one-object-asm-application/sh-iar.s | 7 |
2 files changed, 9 insertions, 0 deletions
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 da8c86550..b485c3e8a 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 @@ -34,6 +34,8 @@ BareMetalApplication { return true; if (qbs.architecture === "r32c") return true; + if (qbs.architecture === "sh") + return true; } else if (qbs.toolchainType === "sdcc") { if (qbs.architecture === "mcs51") return true; diff --git a/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/sh-iar.s b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/sh-iar.s new file mode 100644 index 000000000..d86780310 --- /dev/null +++ b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/sh-iar.s @@ -0,0 +1,7 @@ + PUBLIC _main + SECTION `.code32.text`:CODE:NOROOT(2) +_main: + CODE + MOV #0, R0 + RTS/N + END |