From 7d51d3849abeb3adaaeed9988694a38d7008a848 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Mon, 30 May 2016 17:59:11 +0200 Subject: Squish: Silence more warnings Change-Id: I6259382a2359a795654a6d6536112c090ede130f Reviewed-by: Christian Stenger --- tests/system/shared/qtcreator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/system/shared/qtcreator.py b/tests/system/shared/qtcreator.py index 265fa10107b..b33d5f6170d 100644 --- a/tests/system/shared/qtcreator.py +++ b/tests/system/shared/qtcreator.py @@ -118,7 +118,8 @@ def waitForCleanShutdown(timeOut=10): if not shutdownDone and datetime.utcnow() > endtime: break if platform.system() == 'Linux' and JIRA.isBugStillOpen(15749): - pgrepOutput = getOutputFromCmdline(["pgrep", "-f", "qtcreator_process_stub"]) + pgrepOutput = getOutputFromCmdline(["pgrep", "-f", "qtcreator_process_stub"], + acceptedError=1) pids = pgrepOutput.splitlines() if len(pids): print("Killing %d qtcreator_process_stub instances" % len(pids)) -- cgit v1.2.3