ProjectExplorer: Document source of test data for testAbiOfBinary_data

Change-Id: I2e9b59d5ac99de0bbb9cf1f64210439e41f403af
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Alessandro Portale
2020-09-22 14:51:45 +02:00
parent 569d5ca4da
commit 570f72b8f9
2 changed files with 2 additions and 0 deletions

View File

@@ -1282,6 +1282,7 @@ void ProjectExplorer::ProjectExplorerPlugin::testAbiOfBinary_data()
<< QString::fromLatin1("/does/not/exist") << QString::fromLatin1("/does/not/exist")
<< (QStringList()); << (QStringList());
// Clone test data from: https://git.qt.io/chstenge/creator-test-data
// Set up prefix for test data now that we can be sure to have some tests to run: // Set up prefix for test data now that we can be sure to have some tests to run:
QString prefix = QString::fromLocal8Bit(qgetenv("QTC_TEST_EXTRADATALOCATION")); QString prefix = QString::fromLocal8Bit(qgetenv("QTC_TEST_EXTRADATALOCATION"));
if (prefix.isEmpty()) if (prefix.isEmpty())

View File

@@ -114,6 +114,7 @@ static QString dataFile(const QString &file)
static QString extraDataFile(const QString &file) static QString extraDataFile(const QString &file)
{ {
// Clone test data from: https://git.qt.io/chstenge/creator-test-data
static QString prefix = QString::fromLocal8Bit(qgetenv("QTC_TEST_EXTRADATALOCATION")); static QString prefix = QString::fromLocal8Bit(qgetenv("QTC_TEST_EXTRADATALOCATION"));
if (prefix.isEmpty()) if (prefix.isEmpty())
return QString(); return QString();