AutoTest: Redo reporting of disabled tests

Provide a proper way of reporting disabled tests instead
of the hacky one.

Change-Id: Id3a775d57ac20c9db8ad0f504cb708021117aa2f
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Christian Stenger
2019-03-20 09:03:11 +01:00
parent dac8262aeb
commit 19f2da8048
8 changed files with 10 additions and 10 deletions

View File

@@ -47,6 +47,7 @@ public:
void reportCrash();
void createAndReportResult(const QString &message, Result::Type type);
bool hadValidOutput() const { return m_hadValidOutput; }
int disabledTests() const { return m_disabled; }
void setId(const QString &id) { m_id = id; }
QString id() const { return m_id; }
@@ -63,6 +64,7 @@ protected:
QProcess *m_testApplication; // not owned
QString m_buildDir;
QString m_id;
int m_disabled = -1;
private:
bool m_hadValidOutput = false;
};