diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-04-03 17:37:03 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-04-05 15:05:25 +0000 |
commit | ef7b698b74b4f77b2dd8135ff8f4451aca727763 (patch) | |
tree | 8ff9fde4ec7c7ff683dd82fb00b18a1287c1c536 /tests/auto/blackbox/testdata-baremetal | |
parent | af7d67396edadebd3a1f38623453f1af5cae440c (diff) | |
download | qbs-ef7b698b74b4f77b2dd8135ff8f4451aca727763.tar.gz |
baremetal: Improve linkerMapFile() test
Right now we can use the cpp.linkerMapSuffix property
to find out the currently used linker map suffix.
Also we can set a custom cpp.linkerMapSuffix value to
make sure that this applies to the module.
In addition, the generation of a custom linker map file
for SDCC toolchain has been fixed.
Change-Id: I8798cd6bea0ab6b5ea9728400827b8c98b11ba7b
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal')
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/linker-map/linker-map.qbs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/linker-map/linker-map.qbs b/tests/auto/blackbox/testdata-baremetal/linker-map/linker-map.qbs index 676221e11..fe93ac144 100644 --- a/tests/auto/blackbox/testdata-baremetal/linker-map/linker-map.qbs +++ b/tests/auto/blackbox/testdata-baremetal/linker-map/linker-map.qbs @@ -1,10 +1,8 @@ import "../BareMetalApplication.qbs" as BareMetalApplication BareMetalApplication { - condition: { - console.info("current toolset: %%" - + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); - return true; + property bool dummy: { + console.info("linker map suffix: %%" + cpp.linkerMapSuffix + "%%"); } files: ["main.c"] } |