diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2020-06-16 20:38:39 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2020-06-17 15:43:56 +0000 |
commit | 372b41cd5c335101177a88e3e16952e536626cc0 (patch) | |
tree | 033c8ed743faf963cfc86d193e8087cb0f37d199 /tests/auto/blackbox/tst_blackboxbaremetal.cpp | |
parent | 40f71f6e046caac55ac67da4577e9f56a1592514 (diff) |
baremetal: Add auto-test for cpp.distributionIncludePaths property
This commit adds a blackbox auto-test which compiles
an application using two include paths foo and bar.
Tested for MCS51 architecture with IAR, KEIL, and SDCC
toolchains.
Change-Id: I0eb480ee700ee1d44df69bbcfe9d7d87681212d6
Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackboxbaremetal.cpp')
-rw-r--r-- | tests/auto/blackbox/tst_blackboxbaremetal.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackboxbaremetal.cpp b/tests/auto/blackbox/tst_blackboxbaremetal.cpp index 0a73c6003..de034cdd5 100644 --- a/tests/auto/blackbox/tst_blackboxbaremetal.cpp +++ b/tests/auto/blackbox/tst_blackboxbaremetal.cpp @@ -63,4 +63,10 @@ void TestBlackboxBareMetal::systemIncludePaths() QCOMPARE(runQbs(), 0); } +void TestBlackboxBareMetal::distributionIncludePaths() +{ + QDir::setCurrent(testDataDir + "/distribution-include-paths"); + QCOMPARE(runQbs(), 0); +} + QTEST_MAIN(TestBlackboxBareMetal) |