commit | 1762c381c7fe7171cf0ccb855c8c38a6b0acf209 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Apr 26 22:56:07 2019 +0100 |
committer | Ben Clayton <bclayton@google.com> | Tue Apr 30 09:35:56 2019 +0000 |
tree | 5549ea4efa36107e4e7fcbd8f61704ae0064f268 | |
parent | 8702fa2723736b09c9079b2b69f7a4349b9f2c67 [diff] |
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/+/30169 Tested-by: Ben Clayton <bclayton@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
diff --git a/tests/kokoro/macos/continuous.sh b/tests/kokoro/macos/continuous.sh index 9773c5a..288ce02 100755 --- a/tests/kokoro/macos/continuous.sh +++ b/tests/kokoro/macos/continuous.sh
@@ -15,7 +15,7 @@ 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.