From fe1adda524f3f4258ca50c0d6b894ff33238627f Mon Sep 17 00:00:00 2001 From: Jade Abraham Date: Thu, 21 Nov 2024 12:36:40 -0800 Subject: [PATCH 1/2] lower the number of trials with asan/valgrind Signed-off-by: Jade Abraham --- test/performance/memory/microMemoryAllocation.execopts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) mode change 100644 => 100755 test/performance/memory/microMemoryAllocation.execopts diff --git a/test/performance/memory/microMemoryAllocation.execopts b/test/performance/memory/microMemoryAllocation.execopts old mode 100644 new mode 100755 index 3b0e0820f389..9788437035a4 --- a/test/performance/memory/microMemoryAllocation.execopts +++ b/test/performance/memory/microMemoryAllocation.execopts @@ -1 +1,6 @@ ---printTime=false +#!/usr/bin/env bash +args="--printTime=false" +if [ "$CHPL_TEST_VGRND_EXE" == "on" ] || [ "${CHPL_SANITIZE_EXE-none}" != "none" ]; then + args="$args --trials=1000" +fi +echo $args From 9e7b9fa2596df659de0fa76a3234c27f83351963 Mon Sep 17 00:00:00 2001 From: Jade Abraham Date: Thu, 21 Nov 2024 12:43:31 -0800 Subject: [PATCH 2/2] fix typo Signed-off-by: Jade Abraham --- test/performance/memory/microMemoryAllocation.execopts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/performance/memory/microMemoryAllocation.execopts b/test/performance/memory/microMemoryAllocation.execopts index 9788437035a4..e15a10a05bac 100755 --- a/test/performance/memory/microMemoryAllocation.execopts +++ b/test/performance/memory/microMemoryAllocation.execopts @@ -1,6 +1,6 @@ #!/usr/bin/env bash args="--printTime=false" -if [ "$CHPL_TEST_VGRND_EXE" == "on" ] || [ "${CHPL_SANITIZE_EXE-none}" != "none" ]; then +if [ "$CHPL_TEST_VGRND_EXE" == "on" ] || [ "${CHPL_SANITIZE_EXE:-none}" != "none" ]; then args="$args --trials=1000" fi echo $args