forked from qt-creator/qt-creator
AutoTest: Filter out interfering environment variables
If there are environment variables that might interfere with the test process filter them out before setting the environment for the test process as they can - in the worst case - even lead to being not able to execute the test application at all. Task-number: QTCREATORBUG-21012 Change-Id: I4a2059cf527395498824a0914fd6c3203eca9bcf Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -92,7 +92,7 @@ public:
|
||||
virtual TestOutputReader *outputReader(const QFutureInterface<TestResultPtr> &fi,
|
||||
QProcess *app) const = 0;
|
||||
virtual QStringList argumentsForTestRunner(QStringList *omitted = nullptr) const = 0;
|
||||
|
||||
virtual Utils::Environment filteredEnvironment(const Utils::Environment &original) const = 0;
|
||||
private:
|
||||
QStringList m_testCases;
|
||||
int m_testCaseCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user