summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/CTestCustom.cmake.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-31 13:26:35 (GMT)
committerBrad King <brad.king@kitware.com>2015-07-31 13:26:35 (GMT)
commitd0915bc86f294707411ae525e70fa20965f1aeec (patch)
treed5db8fe52e7bcb5e388ced274abe5fc2647362b6 /Source/kwsys/CTestCustom.cmake.in
parent59678037a972fd5a3d7bbb9487dc86a15913220f (diff)
parent1feafc643b1c50fd0fa8171a4170065ca39d4d4c (diff)
downloadCMake-d0915bc86f294707411ae525e70fa20965f1aeec.zip
CMake-d0915bc86f294707411ae525e70fa20965f1aeec.tar.gz
CMake-d0915bc86f294707411ae525e70fa20965f1aeec.tar.bz2
Merge branch 'upstream-kwsys' into update-kwsys
Diffstat (limited to 'Source/kwsys/CTestCustom.cmake.in')
-rw-r--r--Source/kwsys/CTestCustom.cmake.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/kwsys/CTestCustom.cmake.in b/Source/kwsys/CTestCustom.cmake.in
new file mode 100644
index 0000000..d6f802e
--- /dev/null
+++ b/Source/kwsys/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
+ )