diff options
author | David Schulz <david.schulz@theqtcompany.com> | 2015-03-19 07:21:23 +0100 |
---|---|---|
committer | David Schulz <david.schulz@theqtcompany.com> | 2015-03-19 07:24:09 +0000 |
commit | 81a70627a42c56297dfd2154f855da7609c42743 (patch) | |
tree | 446904753a148f9745cccb66c6887de6dd2a57e7 /tests/auto | |
parent | e8f8aaa263b778adee2a3568bff9b7d1cc8e4d05 (diff) | |
download | qt-creator-81a70627a42c56297dfd2154f855da7609c42743.tar.gz |
Tests: Dumper: Add current data tag to tmp build dir name.
Change-Id: I91c26bcb70a10ed00c32f8bf18f16e0ac449c5b6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 8b1328619d..22710817cd 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -799,7 +799,9 @@ public: struct TempStuff { - TempStuff() : buildTemp(QLatin1String("qt_tst_dumpers_")) + TempStuff(const char *tag) : buildTemp(QLatin1String("qt_tst_dumpers_") + + QLatin1String(tag) + + QLatin1Char('_')) { buildPath = QDir::currentPath() + QLatin1Char('/') + buildTemp.path(); buildTemp.setAutoRemove(false); @@ -971,7 +973,7 @@ void tst_Dumpers::initTestCase() void tst_Dumpers::init() { - t = new TempStuff(); + t = new TempStuff(QTest::currentDataTag()); } void tst_Dumpers::cleanup() |