summaryrefslogtreecommitdiff
path: root/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorKWSys Robot <kwrobot@kitware.com>2015-07-30 09:08:41 -0400
committerBrad King <brad.king@kitware.com>2015-07-31 09:26:30 -0400
commit1feafc643b1c50fd0fa8171a4170065ca39d4d4c (patch)
treef8eec98e7ff50412aab456cf29ec1de85e271946 /CTestCustom.cmake.in
parentdc822da8158af5b568ca01fbb519d7170553376a (diff)
downloadcmake-1feafc643b1c50fd0fa8171a4170065ca39d4d4c.tar.gz
KWSys 2015-07-30 (f63febb7)
Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ f63febb7 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' c9336bcf..f63febb7 Brad King (1): 83b4a6b8 Process: Fix conversion warning in testProcess.c James Johnston (7): 4cd8846c Process: Remove trailing whitespace in ProcessUNIX.c b1c44c58 Process: Refactor sleeping code in testProcess.c. faff2ab0 Process: Wait for children to terminate on Ctrl+C. ef517b19 Process: Added initial support for process groups. 906c2cae Process: Added test cases for testing Ctrl+C and process groups. 52874e6a Process: Fix leaked file descriptor in ProcessUNIX f63febb7 Process: Fix error message for startup failure on Windows
Diffstat (limited to 'CTestCustom.cmake.in')
-rw-r--r--CTestCustom.cmake.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/CTestCustom.cmake.in b/CTestCustom.cmake.in
new file mode 100644
index 0000000000..d6f802e8a0
--- /dev/null
+++ b/CTestCustom.cmake.in
@@ -0,0 +1,15 @@
+# kwsys.testProcess-10 involves sending SIGINT to a child process, which then
+# exits abnormally via a call to _exit(). (On Windows, a call to ExitProcess).
+# Naturally, this results in plenty of memory being "leaked" by this child
+# process - the memory check results are not meaningful in this case.
+#
+# kwsys.testProcess-9 also tests sending SIGINT to a child process. However,
+# normal operation of that test involves the child process timing out, and the
+# host process kills (SIGKILL) it as a result. Since it was SIGKILL'ed, the
+# resulting memory leaks are not logged by valgrind anyway. Therefore, we
+# don't have to exclude it.
+
+set(CTEST_CUSTOM_MEMCHECK_IGNORE
+ ${CTEST_CUSTOM_MEMCHECK_IGNORE}
+ kwsys.testProcess-10
+ )