aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2020-10-05 11:57:24 +0200
committerChristian Stenger <christian.stenger@qt.io>2020-10-05 10:02:14 +0000
commitbf19509642ef3845515a1fe099c5389e1ab553a0 (patch)
treefc5ea24f02fe62906563a908d59db1b5322eccc3 /tests/auto
parentfe7d928f3b00cf5652fb0d8633bac122f3d1d489 (diff)
Tests: Fix boost pro file additions
Otherwise we might end up with a messed up project file. Change-Id: I432d45063092d0a5dead3ef975ba3ce5294c1af0 Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/debugger/tst_dumpers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp
index 5d7ff9a5b5..8f1ea35693 100644
--- a/tests/auto/debugger/tst_dumpers.cpp
+++ b/tests/auto/debugger/tst_dumpers.cpp
@@ -696,6 +696,7 @@ struct BoostProfile : public Profile
const QByteArray &boostLibPath = qgetenv("QTC_BOOST_LIBRARY_PATH_FOR_TEST");
if (!boostLibPath.isEmpty())
contents += QByteArray("\nLIBS += \"-L") + boostLibPath.constData() + QByteArray("\"");
+ contents += '\n'; // ensure newline at end no matter what has been added before
includes = "#include <boost/version.hpp>\n";
}
};