summaryrefslogtreecommitdiffstats
path: root/src/winrtrunner/runnerengine.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2018-12-06 16:57:52 +0100
committerOliver Wolff <oliver.wolff@qt.io>2018-12-07 09:03:17 +0000
commita165d75dcbb7ce410e414b4b31d746ab3774dc11 (patch)
tree7c2defda61398f85f3daa71d4cae13ab5fe09a71 /src/winrtrunner/runnerengine.h
parentb402c1cff5deefd382bbcc56900c66c7ed0124ed (diff)
winrtrunner: Pass logging rules set in the environment to the app
If an auto test fails Coin tries to rerun the same test with logging enabled to get additional information. Instead of just enabling extended logging for winrtrunner we have to pass these rules to the application that is run by winrtrunner to be able to obtain the information. As we cannot set the application's environment from winrtrunner we write qtlogging.ini where the application expects it to be so that logging is enabled on startup. Change-Id: I238a083f6d499f5b6b5eadb43545a5857050a2e8 Reviewed-by: Andre de la Rocha <andre.rocha@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/winrtrunner/runnerengine.h')
-rw-r--r--src/winrtrunner/runnerengine.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/winrtrunner/runnerengine.h b/src/winrtrunner/runnerengine.h
index 4cdd8f36f..44565c46c 100644
--- a/src/winrtrunner/runnerengine.h
+++ b/src/winrtrunner/runnerengine.h
@@ -55,6 +55,7 @@ public:
virtual bool disableDebugging() = 0;
virtual bool setLoopbackExemptClientEnabled(bool enabled) = 0;
virtual bool setLoopbackExemptServerEnabled(bool enabled) = 0;
+ virtual bool setLoggingRules(const QByteArray &rules) = 0;
virtual bool suspend() = 0;
virtual bool waitForFinished(int secs) = 0;
virtual bool stop() = 0;