From 138ebd7d9efc5c6a284dab4d2051343426f5e3fd Mon Sep 17 00:00:00 2001 From: LeoTM <1881059+leotm@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:40:18 +0100 Subject: [PATCH] chore(ses): improve Hermes test logs --- packages/ses/scripts/hermes.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/ses/scripts/hermes.sh b/packages/ses/scripts/hermes.sh index ed7fe71013..7abd9f88a5 100755 --- a/packages/ses/scripts/hermes.sh +++ b/packages/ses/scripts/hermes.sh @@ -22,16 +22,19 @@ esac HERMESC="../../node_modules/hermes-engine-cli/$OS_DIR/hermesc" HERMES="../../node_modules/hermes-engine-cli/$OS_DIR/hermes" -echo "Catenating SES to Hermes smoke test" +echo "Catenating: dist/ses.cjs + test/hermes-smoke.js" cat dist/ses.cjs test/hermes-smoke.js > test/hermes-smoke-dist.js +echo "Generated: test/hermes-smoke-dist.js" -echo "Executing smoke test on Hermes compiler" -$HERMESC -emit-binary -out test/hermes-smoke.hbc test/hermes-smoke-dist.js +echo "Executing: test/hermes-smoke-dist.js on Hermes compiler" +$HERMESC -emit-binary -out test/hermes-smoke-dist.hbc test/hermes-smoke-dist.js +echo "Generated: test/hermes-smoke-dist.hbc" echo "Hermes compiler done" -# Disabled until https://github.com/endojs/endo/issues/1891 complete +# TODO: Disabled until https://github.com/endojs/endo/issues/1891 complete # echo "Executing generated bytecode file on Hermes VM" # $HERMES -b hermes-smoke.hbc # echo "Hermes VM done" +echo "Skipping Hermes VM" echo "Hermes tests complete"