mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Merge pull request #8613 from bensze01/valgrind-only-in-nightlies
Do not run Valgrind tests in PR jobs
This commit is contained in:
@ -2100,7 +2100,7 @@ component_test_memsan_constant_flow_psa () {
|
|||||||
make test
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_valgrind_constant_flow () {
|
component_release_test_valgrind_constant_flow () {
|
||||||
# This tests both (1) everything that valgrind's memcheck usually checks
|
# This tests both (1) everything that valgrind's memcheck usually checks
|
||||||
# (heap buffer overflows, use of uninitialized memory, use-after-free,
|
# (heap buffer overflows, use of uninitialized memory, use-after-free,
|
||||||
# etc.) and (2) branches or memory access depending on secret values,
|
# etc.) and (2) branches or memory access depending on secret values,
|
||||||
@ -2134,7 +2134,7 @@ component_test_valgrind_constant_flow () {
|
|||||||
make memcheck
|
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
|
# This tests both (1) everything that valgrind's memcheck usually checks
|
||||||
# (heap buffer overflows, use of uninitialized memory, use-after-free,
|
# (heap buffer overflows, use of uninitialized memory, use-after-free,
|
||||||
# etc.) and (2) branches or memory access depending on secret values,
|
# etc.) and (2) branches or memory access depending on secret values,
|
||||||
@ -5766,7 +5766,7 @@ component_test_memsan () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_valgrind () {
|
component_release_test_valgrind () {
|
||||||
msg "build: Release (clang)"
|
msg "build: Release (clang)"
|
||||||
# default config, in particular without MBEDTLS_USE_PSA_CRYPTO
|
# default config, in particular without MBEDTLS_USE_PSA_CRYPTO
|
||||||
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Release .
|
CC=clang cmake -D CMAKE_BUILD_TYPE:String=Release .
|
||||||
@ -5794,7 +5794,7 @@ component_test_valgrind () {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
component_test_valgrind_psa () {
|
component_release_test_valgrind_psa () {
|
||||||
msg "build: Release, full (clang)"
|
msg "build: Release, full (clang)"
|
||||||
# full config, in particular with MBEDTLS_USE_PSA_CRYPTO
|
# full config, in particular with MBEDTLS_USE_PSA_CRYPTO
|
||||||
scripts/config.py full
|
scripts/config.py full
|
||||||
|
Reference in New Issue
Block a user