summaryrefslogtreecommitdiffstats
path: root/tests/auto/qmake/testcompiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qmake/testcompiler.h')
-rw-r--r--tests/auto/qmake/testcompiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qmake/testcompiler.h b/tests/auto/qmake/testcompiler.h
index 76d9ee5..026344f 100644
--- a/tests/auto/qmake/testcompiler.h
+++ b/tests/auto/qmake/testcompiler.h
@@ -70,6 +70,10 @@ public:
bool exists( const QString &destDir, const QString &exeName, BuildType buildType, const QString &version );
// removes the makefile
bool removeMakefile( const QString &workPath );
+ // returns each line of stdout of the last command append with a "new line" character(s) to suit the platform
+ QString commandOutput() const;
+ // clear the results of storage of stdout for running previous commands
+ void clearCommandOutput();
private:
bool runCommand( QString cmdLine );