Merge pull request #8613 from bensze01/valgrind-only-in-nightlies

Do not run Valgrind tests in PR jobs
This commit is contained in:
Dave Rodgman 2023-12-06 19:18:24 +00:00 committed by GitHub
commit 779819a4dd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2100,7 +2100,7 @@ component_test_memsan_constant_flow_psa () {
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,
@ -2134,7 +2134,7 @@ component_test_valgrind_constant_flow () {
make memcheck
}
component_test_valgrind_constant_flow_psa () {
component_release_test_valgrind_constant_flow_psa () {
# 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,
@ -5766,7 +5766,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 .
@ -5794,7 +5794,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