[njs] Tests: improved memory sanitizer build.

Dmitry Volyntsev xeioex at nginx.com
Sat Jul 1 04:03:32 UTC 2023


details:   https://hg.nginx.org/njs/rev/3386684745b7
branches:  
changeset: 2174:3386684745b7
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Fri Jun 30 21:02:44 2023 -0700
description:
Tests: improved memory sanitizer build.

Disable webcrypto tests because they required instrumented openssl.

diffstat:

 src/test/njs_unit_test.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0e97da4147da -r 3386684745b7 src/test/njs_unit_test.c
--- a/src/test/njs_unit_test.c	Fri Jun 30 19:49:46 2023 -0700
+++ b/src/test/njs_unit_test.c	Fri Jun 30 21:02:44 2023 -0700
@@ -25090,7 +25090,7 @@ static njs_test_suite_t  njs_suites[] =
       njs_disabled_denormals_tests },
 
     {
-#if (NJS_HAVE_OPENSSL)
+#if (NJS_HAVE_OPENSSL && !NJS_HAVE_MEMORY_SANITIZER)
         njs_str("webcrypto"),
 #else
         njs_str(""),


More information about the nginx-devel mailing list