fixup! externalTests: Benchmark reports

This commit is contained in:
Kamil Śliwak 2022-01-18 16:01:56 +01:00
parent e801770345
commit d375edd731
4 changed files with 12 additions and 0 deletions

View File

@ -24,6 +24,8 @@ set -e
source scripts/common.sh
source test/externalTests/common.sh
REPO_ROOT=$(realpath "$(dirname "$0")/../..")
verify_input "$@"
BINARY_TYPE="$1"
BINARY_PATH="$2"
@ -76,6 +78,7 @@ function bleeps_test
for preset in $SELECTED_PRESETS; do
hardhat_run_test "$config_file" "$preset" "${compile_only_presets[*]}" compile_fn test_fn "$config_var"
store_benchmark_report hardhat bleeps "$repo" "$preset"
done
popd

View File

@ -24,6 +24,8 @@ set -e
source scripts/common.sh
source test/externalTests/common.sh
REPO_ROOT=$(realpath "$(dirname "$0")/../..")
verify_input "$@"
BINARY_TYPE="$1"
BINARY_PATH="$2"
@ -68,6 +70,7 @@ function euler_test
for preset in $SELECTED_PRESETS; do
hardhat_run_test "$config_file" "$preset" "${compile_only_presets[*]}" compile_fn test_fn
store_benchmark_report hardhat euler "$repo" "$preset"
done
}

View File

@ -24,6 +24,8 @@ set -e
source scripts/common.sh
source test/externalTests/common.sh
REPO_ROOT=$(realpath "$(dirname "$0")/../..")
verify_input "$@"
BINARY_TYPE="$1"
BINARY_PATH="$2"
@ -91,6 +93,7 @@ function trident_test
for preset in $SELECTED_PRESETS; do
hardhat_run_test "$config_file" "$preset" "${compile_only_presets[*]}" compile_fn test_fn "$config_var"
store_benchmark_report hardhat trident "$repo" "$preset"
done
}

View File

@ -24,6 +24,8 @@ set -e
source scripts/common.sh
source test/externalTests/common.sh
REPO_ROOT=$(realpath "$(dirname "$0")/../..")
verify_input "$@"
BINARY_TYPE="$1"
BINARY_PATH="$2"
@ -68,6 +70,7 @@ function yield_liquidator_test
for preset in $SELECTED_PRESETS; do
hardhat_run_test "$config_file" "$preset" "${compile_only_presets[*]}" compile_fn test_fn "$config_var"
store_benchmark_report hardhat yield_liquidator "$repo" "$preset"
done
}