From e1c6c4c96259877c2217be3bdceaf0ac59dbeb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Wed, 6 Dec 2023 16:14:37 +0100 Subject: [PATCH] Do not run Valgrind tests in PR jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Dave Rodgman Signed-off-by: Bence Szépkúti --- tests/scripts/all.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index aae020976d..aa70f22e2c 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -1629,7 +1629,7 @@ component_test_memsan_constant_flow () { make test } -component_test_valgrind_constant_flow () { +component_release_test_valgrind_constant_flow () { # This tests both (1) everything that valgrind's memcheck usually checks # (heap buffer overflows, use of uninitialized memory, use-after-free, # etc.) and (2) branches or memory access depending on secret values, @@ -3371,7 +3371,7 @@ component_test_memsan () { fi } -component_test_valgrind () { +component_release_test_valgrind () { msg "build: Release (clang)" # default config, in particular without MBEDTLS_USE_PSA_CRYPTO CC=clang cmake -D CMAKE_BUILD_TYPE:String=Release . @@ -3399,7 +3399,7 @@ component_test_valgrind () { fi } -component_test_valgrind_psa () { +component_release_test_valgrind_psa () { msg "build: Release, full (clang)" # full config, in particular with MBEDTLS_USE_PSA_CRYPTO scripts/config.py full