summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmake/testcompiler.h
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-03-19 12:36:56 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-04-02 14:29:49 (GMT)
commit605746fd14ff68f19a806bb54882fb967fccc8e8 (patch)
treef4679f7e4ae9cf7df7846fc416623fcbf699705e /tests/auto/qmake/testcompiler.h
parent0d026b267badbf7890b02256826f0ff3821fcec7 (diff)
downloadQt-605746fd14ff68f19a806bb54882fb967fccc8e8.zip
Qt-605746fd14ff68f19a806bb54882fb967fccc8e8.tar.gz
Qt-605746fd14ff68f19a806bb54882fb967fccc8e8.tar.bz2
In qmake tests, allow child environment to be manipulated
... without having to change the parent process's environment. Reviewed-by: mariusSO
Diffstat (limited to 'tests/auto/qmake/testcompiler.h')
-rw-r--r--tests/auto/qmake/testcompiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qmake/testcompiler.h b/tests/auto/qmake/testcompiler.h
index 90f7fea..41e5177 100644
--- a/tests/auto/qmake/testcompiler.h
+++ b/tests/auto/qmake/testcompiler.h
@@ -55,6 +55,8 @@ public:
virtual ~TestCompiler();
void setBaseCommands( QString makeCmd, QString qmakeCmd );
+ void resetEnvironment();
+ void addToEnvironment( QString varAssignment );
// executes a make clean in the specified workPath
bool makeClean( const QString &workPath );
@@ -74,6 +76,7 @@ private:
QString makeCmd_;
QString qmakeCmd_;
+ QStringList environment_;
// need to make this available somewhere
QStringList testOutput_;