From 4e83451e37291f464fefcf42b1814854401e7d57 Mon Sep 17 00:00:00 2001 From: matteo-cristino Date: Wed, 18 Oct 2023 14:38:28 +0200 Subject: [PATCH] =?UTF-8?q?test(bats):=20=F0=9F=A7=AA=20raise=20an=20error?= =?UTF-8?q?=20in=20case=20of=20memory=20left=20allocalted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/bats_zencode | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/bats_zencode b/test/bats_zencode index 8769c0258..187e4ca72 100755 --- a/test/bats_zencode +++ b/test/bats_zencode @@ -62,6 +62,8 @@ zexe() { # export output=`cat $TMP/out` dep=`cat $tmperr | grep 'DEPRECATED:' -A 3 || true` if [ "$dep" != "" ] && [ $status == 0 ]; then status=255; fi + mem=`cat $tmperr | grep 'Zenroom memory left allocated' || true` + if [ "$mem" != "" ] && [ $status == 0 ]; then status=255; fi return $status }