summaryrefslogtreecommitdiff
path: root/tests/frontend/buildtrack.py
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-12-13 11:49:39 -0500
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-12-13 11:49:39 -0500
commit44a49070c07433c99e6d9745f61479a21bbc31fd (patch)
treefe2c0da15f3a60dfcec858c895875ed1601ff78f /tests/frontend/buildtrack.py
parent1feef7c08980a635d78942e202bc93ec1fadb20e (diff)
downloadbuildstream-early-logging.tar.gz
Adapting test cases to expect logs in stderrearly-logging
And also adapted them to remove any occurrences of HAVE_ROOT.
Diffstat (limited to 'tests/frontend/buildtrack.py')
-rw-r--r--tests/frontend/buildtrack.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/frontend/buildtrack.py b/tests/frontend/buildtrack.py
index e91274a29..45dd30d82 100644
--- a/tests/frontend/buildtrack.py
+++ b/tests/frontend/buildtrack.py
@@ -300,12 +300,12 @@ def test_build_track_track_first(cli, datafiles, tmpdir, strict):
assert result.exit_code == 0
# Assert that 1.bst successfully tracks before 0.bst builds
- track_messages = re.finditer(r'\[track:1.bst\s*]', result.output)
- build_0 = re.search(r'\[build:0.bst\s*] START', result.output).start()
+ track_messages = re.finditer(r'\[track:1.bst\s*]', result.stderr)
+ build_0 = re.search(r'\[build:0.bst\s*] START', result.stderr).start()
assert all(track_message.start() < build_0 for track_message in track_messages)
# Assert that 2.bst is *only* rebuilt if we are in strict mode
- build_2 = re.search(r'\[build:2.bst\s*] START', result.output)
+ build_2 = re.search(r'\[build:2.bst\s*] START', result.stderr)
if strict == '--strict':
assert build_2 is not None
else: