0de64a749b
The assembly dispatch tests currently assume NDEBUG is consistently defined between C/C++ and assembly. While this is usually the case for UNIX, CMake does not pass NDEBUG to NASM. This is giving gRPC some difficulties in updating BoringSSL, so switch it to an opt-in -DBORINGSSL_DISPATCH_TEST flag instead. Update-Note: If you were copying NDEBUG over to assembly files, that's no longer required (though it's harmless to leave it in). If you want to run ImplDispatchTest.*, build both C/C++ and assembly with -DBORINGSSL_DISPATCH_TEST in your debug builds. (Don't enable it in release builds. It causes assembly to scribble in some globals.) Change-Id: I9ab3371dc0f0a40b27b44ef93835e007a6346900 Reviewed-on: https://boringssl-review.googlesource.com/c/boringssl/+/37764 Commit-Queue: David Benjamin <davidben@google.com> Reviewed-by: Adam Langley <agl@google.com>