[libc] make the scudo integration test run
adds a custom command for libc-scudo-integration-test that makes it run
when it is built.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D108409
GitOrigin-RevId: 6ce6fa4ad430b6045e07bc6191da7bcae2697f17
diff --git a/test/integration/scudo/CMakeLists.txt b/test/integration/scudo/CMakeLists.txt
index 35e3a78..045dc9a 100644
--- a/test/integration/scudo/CMakeLists.txt
+++ b/test/integration/scudo/CMakeLists.txt
@@ -37,3 +37,9 @@
PRIVATE
llvmlibc
)
+
+add_custom_command(TARGET libc-scudo-integration-test
+ POST_BUILD
+ COMMAND $<TARGET_FILE:libc-scudo-integration-test>
+ COMMENT "Run the test after it is built."
+ VERBATIM)