Commit 1762c381 by Ben Clayton

Kokoro: Build with ASAN enabled.

Try and catch memory corruption in our unit tests. Change-Id: I5712c443de002ca563ba474cb77451d2791e7ec0 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30169Tested-by: 's avatarBen Clayton <bclayton@google.com> Reviewed-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent 8702fa27
......@@ -15,7 +15,7 @@ if [[ -z "${REACTOR_BACKEND}" ]]; then
REACTOR_BACKEND="LLVM"
fi
cmake .. "-DREACTOR_BACKEND=${REACTOR_BACKEND}"
cmake .. "-DASAN=ON -DREACTOR_BACKEND=${REACTOR_BACKEND}"
make -j$(sysctl -n hw.logicalcpu)
# Run the reactor unit tests.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment