From 88d2f6d78848d1a3a405d8c843f416e45ad6cb70 Mon Sep 17 00:00:00 2001 From: Min RK Date: Mon, 19 Feb 2018 13:06:07 +0100 Subject: [PATCH] update postBuild error checking to be more flexible if the postBuild line changes --- tests/memlimit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/memlimit.py b/tests/memlimit.py index c830cb4a..50c909dd 100644 --- a/tests/memlimit.py +++ b/tests/memlimit.py @@ -37,7 +37,7 @@ def does_build(builddir, mem_limit, mem_allocate_mb): except subprocess.CalledProcessError as e: output = e.output.decode() print(output) - if "The command '/bin/sh -c ./postBuild' returned a non-zero code: 137" in output: + if "/postBuild' returned a non-zero code: 137" in output: return False else: raise