aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/tst_blackbox.h
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-06-12 14:12:24 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-06-13 05:05:03 +0200
commitc230637f52f54db2bde1632041489505a03ab7ae (patch)
tree9de95d8885bf0da636d84cf73f0aabfa29e928e9 /tests/auto/blackbox/tst_blackbox.h
parentc2a0e4a7c7e22479ac99d19d8c1c9918fe76d2c2 (diff)
sanitize stdout/stderr output in blackbox test
On Windows the CR characters that were in stdout/stderr led to very unclean output on the console and in Qt Creator. We're removing those in the runQbs method now. Change-Id: I4bef7bb7221bd6f656e5e7480c7a3e0e7ddb44fb Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'tests/auto/blackbox/tst_blackbox.h')
-rw-r--r--tests/auto/blackbox/tst_blackbox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.h b/tests/auto/blackbox/tst_blackbox.h
index 7a52a9bd3..c236d4273 100644
--- a/tests/auto/blackbox/tst_blackbox.h
+++ b/tests/auto/blackbox/tst_blackbox.h
@@ -91,6 +91,7 @@ protected:
void touch(const QString &fn);
static void waitForNewTimestamp();
static QByteArray unifiedLineEndings(const QByteArray &ba);
+ static void sanitizeOutput(QByteArray *ba);
public slots:
void initTestCase();