From 1b4af29529f2ea75a1da822b9184a008a06952a5 Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Thu, 9 May 2024 14:18:50 +0200 Subject: [PATCH] runapptests - Fix missing newline for loading after uploading --- bin/runapptests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/runapptests.js b/bin/runapptests.js index 184a5ea20..f0c5280c2 100755 --- a/bin/runapptests.js +++ b/bin/runapptests.js @@ -285,7 +285,7 @@ function runStep(step, subtest, test, state){ p = p.then(() => { emu.tx(`\x10print(process.memory().usage)\n`); subtest.memUsage = parseInt( getSanitizedLastLine()); - console.log("> CURRENT MEMORY USAGE", subtest.memUsage); + console.log("> SAVED MEMORY USAGE", subtest.memUsage); }); break; case "checkMemoryUsage" : @@ -314,7 +314,7 @@ function runStep(step, subtest, test, state){ console.log("> UPLOADING" + (step.load ? " AND LOADING" : ""), step.file); emu.tx(AppInfo.getFileUploadCommands(step.as, require("fs").readFileSync(BASE_DIR + "/" + step.file).toString())); if (step.load){ - emu.tx(`\x10load("${step.as}")`); + emu.tx(`\x10load("${step.as}")\n`); } }); break;