diff options
author | MoustaphaSaad <moustapha.saad.abdelhamed@gmail.com> | 2024-06-07 19:56:12 +0300 |
---|---|---|
committer | Theo Buehler <tb@openbsd.org> | 2024-06-19 14:06:09 +0200 |
commit | 1b4bf24d88b2346ca83aaaf061817bd07b882fea (patch) | |
tree | 2effae4642fbdebe0c783c057f546428d9bc8009 /tests | |
parent | 30e571fb5fb49ad6ea880dc8813f6d4b1042f0fd (diff) | |
download | portable-1b4bf24d88b2346ca83aaaf061817bd07b882fea.tar.gz portable-1b4bf24d88b2346ca83aaaf061817bd07b882fea.tar.bz2 portable-1b4bf24d88b2346ca83aaaf061817bd07b882fea.zip |
call prepare_emscripten_test_target for x509_asn1 to fix an OOM error
when built in asan mode, x509_asn1 fails with an Out Of Memory error because of higher memory usage of address sanitizer. This commit sets `-sALLOW_MEMORY_GROWTH` for that target by calling prepare_emscripten_test_target
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index bee98c6..f36e9a1 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt | |||
@@ -857,6 +857,7 @@ add_platform_test(x509_algor x509_algor) | |||
857 | # x509_asn1 | 857 | # x509_asn1 |
858 | add_executable(x509_asn1 x509_asn1.c) | 858 | add_executable(x509_asn1 x509_asn1.c) |
859 | target_link_libraries(x509_asn1 ${OPENSSL_TEST_LIBS}) | 859 | target_link_libraries(x509_asn1 ${OPENSSL_TEST_LIBS}) |
860 | prepare_emscripten_test_target(x509_asn1) | ||
860 | add_platform_test(x509_asn1 x509_asn1) | 861 | add_platform_test(x509_asn1 x509_asn1) |
861 | 862 | ||
862 | # x509_extensions_test | 863 | # x509_extensions_test |