[libc-commits] [libc] 6ce6fa4 - [libc] make the scudo integration test run
Michael Jones via libc-commits
libc-commits at lists.llvm.org
Fri Aug 20 10:51:21 PDT 2021
Author: Michael Jones
Date: 2021-08-20T17:51:11Z
New Revision: 6ce6fa4ad430b6045e07bc6191da7bcae2697f17
URL: https://github.com/llvm/llvm-project/commit/6ce6fa4ad430b6045e07bc6191da7bcae2697f17
DIFF: https://github.com/llvm/llvm-project/commit/6ce6fa4ad430b6045e07bc6191da7bcae2697f17.diff
LOG: [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
Added:
Modified:
libc/test/integration/scudo/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/test/integration/scudo/CMakeLists.txt b/libc/test/integration/scudo/CMakeLists.txt
index 35e3a78918e4..045dc9a67bbd 100644
--- a/libc/test/integration/scudo/CMakeLists.txt
+++ b/libc/test/integration/scudo/CMakeLists.txt
@@ -37,3 +37,9 @@ target_link_libraries(libc-gwp-asan-uaf-should-crash
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)
More information about the libc-commits
mailing list