From adfa51c01c89fd406a8b1ab8c24a606bcec48d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20=C5=9Aliwak?= Date: Mon, 29 Nov 2021 14:20:42 +0100 Subject: [PATCH] externalTests: Measure compilation time --- test/externalTests/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/externalTests/common.sh b/test/externalTests/common.sh index 80a9dec32..0f5bbc0b1 100644 --- a/test/externalTests/common.sh +++ b/test/externalTests/common.sh @@ -236,7 +236,7 @@ function run_test replace_version_pragmas printLog "Running compile function..." - $compile_fn + time $compile_fn printLog "Running test function..." $test_fn @@ -329,7 +329,7 @@ function compile_and_run_test local verify_fn="$3" printLog "Running compile function..." - $compile_fn + time $compile_fn $verify_fn "$SOLCVERSION_SHORT" "$SOLCVERSION" if [[ "$COMPILE_ONLY" == 1 ]]; then