From 162aa57dc2835e7b8b61394c083eca3582b3f43b Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Tue, 7 May 2024 19:46:01 +0200 Subject: [PATCH] runapptests - Allow directly loading from upload step --- bin/runapptests.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/runapptests.js b/bin/runapptests.js index 3ea2a9b55..6e581d663 100755 --- a/bin/runapptests.js +++ b/bin/runapptests.js @@ -275,6 +275,9 @@ function runStep(step, subtest, test, state){ p = p.then(()=>{ 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}")`); + } }); break; default: ERROR("Unknown step type "+step.t);