diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2021-04-06 10:04:00 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2021-04-07 11:24:47 +0000 |
commit | 5720a12ffb1ede3b9bac039f737fe868387221b3 (patch) | |
tree | 1675a5797d17e954c4179744405cdc3234f31d19 /tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs | |
parent | 475cf5064e04009ffdc730d7915b52af58c3dd69 (diff) |
baremetal: Improve 'compiler-listing' test
We do not need multiple test data instances (*.qbs) for each property,
because we can pass the required properties from the C++ code directly.
Also now we can know about the compiler listing file suffix directly,
through the cpp.compilerListingSuffix property.
Change-Id: I644277458e3ae460cbfb6bba4a24583d9e6ba3e1
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs')
-rw-r--r-- | tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs b/tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs deleted file mode 100644 index a6731d224..000000000 --- a/tests/auto/blackbox/testdata-baremetal/generate-compiler-listing/generate-compiler-listing.qbs +++ /dev/null @@ -1,16 +0,0 @@ -import "../BareMetalApplication.qbs" as BareMetalApplication - -BareMetalApplication { - condition: { - if (!qbs.toolchain.contains("gcc")) { - if (cpp.compilerName.startsWith("armcc")) - console.info("using short listing file names"); - return true; - } - console.info("unsupported toolset: %%" - + qbs.toolchainType + "%%, %%" + qbs.architecture + "%%"); - return false; - } - cpp.generateCompilerListingFiles: true - files: ["main.c", "fun.c"] -} |