From d4f9383185db10253ce1c1a602bf2cd3ee5c982d Mon Sep 17 00:00:00 2001 From: "Rodrigo Q. Saramago" Date: Thu, 12 Jan 2023 09:08:39 +0100 Subject: [PATCH] Drop `ewasm` from tests --- .circleci/osx_install_dependencies.sh | 7 ------- .circleci/soltest_all.sh | 7 ++----- scripts/tests.sh | 5 +---- 3 files changed, 3 insertions(+), 16 deletions(-) diff --git a/.circleci/osx_install_dependencies.sh b/.circleci/osx_install_dependencies.sh index ff34e2fc9..f742d131b 100755 --- a/.circleci/osx_install_dependencies.sh +++ b/.circleci/osx_install_dependencies.sh @@ -81,11 +81,4 @@ then tar xzpf "$evmone_package" -C /usr/local rm "$evmone_package" - # hera - hera_version="0.6.0" - hera_package="hera-${hera_version}-darwin-x86_64.tar.gz" - wget "https://github.com/ewasm/hera/releases/download/v${hera_version}/${hera_package}" - validate_checksum "$hera_package" 82ee57404862705ab314f7a4d04bf2cf29d71e8d209850d66c125527cd287f37 - tar xzpf "$hera_package" -C /usr/local - rm "$hera_package" fi diff --git a/.circleci/soltest_all.sh b/.circleci/soltest_all.sh index 23663ce46..5a5449a94 100755 --- a/.circleci/soltest_all.sh +++ b/.circleci/soltest_all.sh @@ -50,9 +50,6 @@ for OPTIMIZE in "${OPTIMIZE_VALUES[@]}" do for EVM in "${EVM_VALUES[@]}" do - # run tests against hera ewasm evmc vm, only if OPTIMIZE == 0 and evm version is byzantium - EWASM_ARGS="" - [ "${EVM}" = "byzantium" ] && [ "${OPTIMIZE}" = "0" ] && EWASM_ARGS="--ewasm" ENFORCE_GAS_ARGS="" [ "${EVM}" = "${DEFAULT_EVM}" ] && ENFORCE_GAS_ARGS="--enforce-gas-cost" # Run SMTChecker tests only when OPTIMIZE == 0 @@ -61,11 +58,11 @@ do EVM="$EVM" \ OPTIMIZE="$OPTIMIZE" \ - SOLTEST_FLAGS="$SOLTEST_FLAGS $ENFORCE_GAS_ARGS $EWASM_ARGS" \ + SOLTEST_FLAGS="$SOLTEST_FLAGS $ENFORCE_GAS_ARGS" \ BOOST_TEST_ARGS="-t !@nooptions $DISABLE_SMTCHECKER" \ INDEX_SHIFT="$INDEX_SHIFT" \ "${REPODIR}/.circleci/soltest.sh" INDEX_SHIFT=$((INDEX_SHIFT + 1)) done -done \ No newline at end of file +done diff --git a/scripts/tests.sh b/scripts/tests.sh index f8230c54a..c9a747134 100755 --- a/scripts/tests.sh +++ b/scripts/tests.sh @@ -139,11 +139,8 @@ do fi fi - EWASM_ARGS="" - [ "${vm}" = "byzantium" ] && [ "${optimize}" = "" ] && EWASM_ARGS="--ewasm" - set +e - "${SOLIDITY_BUILD_DIR}"/test/soltest --show-progress "${log[@]}" -- ${EWASM_ARGS} --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" "${SMT_FLAGS[@]}" "${force_abiv1_flag[@]}" + "${SOLIDITY_BUILD_DIR}"/test/soltest --show-progress "${log[@]}" -- --testpath "$REPO_ROOT"/test "$optimize" --evm-version "$vm" "${SMT_FLAGS[@]}" "${force_abiv1_flag[@]}" if test "0" -ne "$?"; then exit 1