Commit 1e66800f authored by Sam Thursfield's avatar Sam Thursfield

functional-tests: Don't ignore failures in ipc/ tests

This fixes a regression introduced in 14e557aa.

Tracker Sandbox now passes on the returncode from the subprocess
so that failing tests are noticed by `meson test` as expected.
parent fa77b627
......@@ -432,11 +432,15 @@ def main():
try:
if args.command:
command = [shell, '-c', ' '.join(shlex.quote(c) for c in args.command)]
log.debug("Running: %s", command)
subprocess.run(command)
result = subprocess.run(command)
if len(miner_watches) > 0:
wait_for_miners(miner_watches)
log.debug("Process finished with returncode %i", result.returncode)
sys.exit(result.returncode)
else:
if args.dbus_config:
print(f"Using Tracker daemons from build tree with D-Bus config {args.dbus_config}")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment