summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDenis Shienkov <denis.shienkov@gmail.com>2020-07-23 22:30:36 +0300
committerDenis Shienkov <denis.shienkov@gmail.com>2020-07-24 06:36:33 +0000
commit6314d18adc786d3b2e2d2e469707fb0bc07ee803 (patch)
tree0cfbe18d7d35efcc2e251b215cfd033a1de98a38 /tests
parent668305d1414e222c2060b211a41c2642350ec04f (diff)
downloadqbs-6314d18adc786d3b2e2d2e469707fb0bc07ee803.tar.gz
baremetal: Pass 'one-object-asm-application' test for KEIL C166
Change-Id: I8e5ffc2340135e53021d95c3079f6dc458dc1459 Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/testdata-baremetal/one-object-asm-application/c166-keil.s7
-rw-r--r--tests/auto/blackbox/testdata-baremetal/one-object-asm-application/one-object-asm-application.qbs2
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/c166-keil.s b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/c166-keil.s
new file mode 100644
index 000000000..394bc2ae4
--- /dev/null
+++ b/tests/auto/blackbox/testdata-baremetal/one-object-asm-application/c166-keil.s
@@ -0,0 +1,7 @@
+MAIN_SEG SECTION CODE WORD 'NCODE'
+main PROC NEAR
+ MOV R4, #0
+ RET
+main ENDP
+MAIN_SEG ENDS
+ 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 722133320..f556fc093 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
@@ -9,6 +9,8 @@ BareMetalApplication {
return true;
if (qbs.architecture === "mcs251")
return true;
+ if (qbs.architecture === "c166")
+ return true;
} else if (qbs.toolchainType === "iar") {
if (qbs.architecture.startsWith("arm"))
return true;