pw_presubmit: Fix bug in sanitizer presubmit
Actually run (don't just build) the sanitizer tests, so that
`pw presubmit --step runtime_sanitizers` has a chance of catching
any bugs. Needless to say, this exposes a bunch of failures. I'm slowly
triaging them.
Bug: 514
No-Docs-Update-Reason: Minor bugfix
Change-Id: I67860b1eda68783b6b5504407698fa21fb30acf9
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/67080
Reviewed-by: Rob Mohr <mohrr@google.com>
Commit-Queue: Ted Pudlik <tpudlik@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index 70da9d5..f94d769 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -161,10 +161,10 @@
group("runtime_sanitizers") {
if (host_os != "win") {
deps = [
- ":pw_module_tests($dir_pigweed/targets/host:host_clang_asan)",
- ":pw_module_tests($dir_pigweed/targets/host:host_clang_msan)",
- ":pw_module_tests($dir_pigweed/targets/host:host_clang_tsan)",
- ":pw_module_tests($dir_pigweed/targets/host:host_clang_ubsan)",
+ ":pw_module_tests.run($dir_pigweed/targets/host:host_clang_asan)",
+ ":pw_module_tests.run($dir_pigweed/targets/host:host_clang_msan)",
+ ":pw_module_tests.run($dir_pigweed/targets/host:host_clang_tsan)",
+ ":pw_module_tests.run($dir_pigweed/targets/host:host_clang_ubsan)",
]
}
}