aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorIvan Komissarov <ABBAPOH@gmail.com>2019-04-29 19:51:20 +0200
committerIvan Komissarov <ABBAPOH@gmail.com>2019-04-30 10:05:16 +0000
commitb2f7543308cb542a8d841b5bed4365913d58f944 (patch)
tree1770aec96e3a1ba3f2433787efecdcc8fef6afda /tests
parent9ee0f0c07935e2429707c62ee088bc6b3d8911ef (diff)
Fix compilation error
stdout is a define and should not be used as a variable name Change-Id: If84e526211bcaf8f3f7e169d95c5ea093e712ef4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/blackbox/tst_blackbox.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/blackbox/tst_blackbox.cpp b/tests/auto/blackbox/tst_blackbox.cpp
index 93c0f0ce4..2de7cea85 100644
--- a/tests/auto/blackbox/tst_blackbox.cpp
+++ b/tests/auto/blackbox/tst_blackbox.cpp
@@ -155,10 +155,10 @@ qbs::Version TestBlackbox::bisonVersion()
return qbs::Version();
if (!process.waitForFinished())
return qbs::Version();
- const auto stdout = process.readAllStandardOutput();
- if (stdout.isEmpty())
+ const auto processStdOut = process.readAllStandardOutput();
+ if (processStdOut.isEmpty())
return qbs::Version();
- const auto line = stdout.split('\n')[0];
+ const auto line = processStdOut.split('\n')[0];
const auto words = line.split(' ');
if (words.empty())
return qbs::Version();