From c77e700e595946b3df9f55414e39a3fba1c028ce Mon Sep 17 00:00:00 2001 From: LeoTM <1881059+leotm@users.noreply.github.com> Date: Wed, 14 Aug 2024 11:56:26 +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 5f1651ff8d..c79add1a6b 100755 --- a/packages/ses/scripts/hermes.sh +++ b/packages/ses/scripts/hermes.sh @@ -22,18 +22,21 @@ 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" # Errors on async arrow functions and async generators # Both are unsupported on Hermes -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"