diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-09-14 14:35:45 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-09-17 15:06:29 +0000 |
commit | cbda67789e6c59363908ca0f5da728db07c1ebdc (patch) | |
tree | 1b51da0bfc172ef95b7fa0b30dec3c90bc4b628a /tests/auto/blackbox/testdata-baremetal | |
parent | 8f8a7b8110c0ebef04c3dba4075bfeb1dd3ac169 (diff) |
baremetal: Pass 'generate-linker-map' test for SDCC toolchain
A problem is that the SDCC toolchain has not an option
to disable the generation for the linker MAP file.
So, we need to remove this file explicitly after the linking,
when the cpp.generateLinkerMapFile property is in false.
Change-Id: Ic1e5cb08066441b51d86aece09acd5fae91a83f2
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal')
2 files changed, 0 insertions, 10 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/do-not-generate-linker-map/do-not-generate-linker-map.qbs b/tests/auto/blackbox/testdata-baremetal/do-not-generate-linker-map/do-not-generate-linker-map.qbs index f0095a4a6..0ff952b22 100644 --- a/tests/auto/blackbox/testdata-baremetal/do-not-generate-linker-map/do-not-generate-linker-map.qbs +++ b/tests/auto/blackbox/testdata-baremetal/do-not-generate-linker-map/do-not-generate-linker-map.qbs @@ -2,11 +2,6 @@ import "../BareMetalApplication.qbs" as BareMetalApplication BareMetalApplication { condition: { - if (qbs.toolchainType === "sdcc") { - console.info("unsupported toolset: %%" - + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); - return false; - } console.info("current toolset: %%" + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); return true; diff --git a/tests/auto/blackbox/testdata-baremetal/generate-linker-map/generate-linker-map.qbs b/tests/auto/blackbox/testdata-baremetal/generate-linker-map/generate-linker-map.qbs index 854391abb..a6ab5ba32 100644 --- a/tests/auto/blackbox/testdata-baremetal/generate-linker-map/generate-linker-map.qbs +++ b/tests/auto/blackbox/testdata-baremetal/generate-linker-map/generate-linker-map.qbs @@ -2,11 +2,6 @@ import "../BareMetalApplication.qbs" as BareMetalApplication BareMetalApplication { condition: { - if (qbs.toolchainType === "sdcc") { - console.info("unsupported toolset: %%" - + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); - return false; - } console.info("current toolset: %%" + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); return true; |