Ben Boeckel
ce44c2cec3
ctest_memcheck: generate DynamicAnalysis-Test.xml as well
...
This is useful so that memcheck results also show up as test results on
CDash. It will be submitted with the other `MemCheck` parts.
Fixes : #22190
2021-09-08 21:04:46 -04:00
Tobias Ribizel
fea49b2df0
CTest: Rename CudaMemcheck to CudaSanitizer
2020-11-17 21:06:30 +01:00
Tobias Ribizel
d7a2cf681b
Tests: Add cases for cuda-memcheck error types
2020-08-05 11:28:00 +02:00
Tobias Ribizel
f38e4a1871
Tests: Add cases for CTest cuda-memcheck parser
2020-07-09 19:08:34 +02:00
Brad King
9b99b4bfc8
Tests/RunCMake: Update cmake_minimum_required versions
...
Use 3.3 or 2.8.12 where possible.
2020-06-18 09:52:05 -04:00
Brad King
82b6091776
Tests: Fix RunCMake.ctest_memcheck test script syntax errors
2020-04-16 10:08:58 -04:00
Regina Pfeifer
9501a6145d
CTest: Remove special case for Dart version <= 1
2018-11-29 00:29:13 +01:00
Regina Pfeifer
1ca53f5ef1
Remove unnecessary CTEST_PROJECT_NAME variables
2018-11-20 21:43:27 +01:00
Betsy McPhail
5aaaee5e9e
ctest_memcheck: Change failure to find log file from error to warning
...
Sanitizers do not create a log file when no defects are found. Therefore,
it is currently impossible for ctest_memcheck to set both
`CAPTURE_CMAKE_ERROR` and `RETURN_VALUE` to zero.
With defects, `CAPTURE_CMAKE_ERROR`=0 and `RETURN_VALUE`=-1, as expected.
With no defects, `CAPTURE_CMAKE_ERROR`=-1 and `RETURN_VALUE`=0.
2018-08-28 16:45:49 -04:00
Jamie Snape
e116f2a5de
ctest_memcheck: Fix sanitizers when MemoryCheckSanitizerOptions is empty
2017-01-23 10:50:38 -05:00
Jamie Snape
522e1588ec
Tests: Use CTEST_MEMORYCHECK_SANITIZER_OPTIONS where appropriate
...
Previously the ThreadSanitizer and MemorySanitizer tests erroneously
used `CTEST_MEMORYCHECK_COMMAND_OPTIONS`.
2017-01-23 09:13:26 -05:00
Jamie Snape
0a2e588585
ctest_memcheck: join *SAN_OPTIONS with :
2017-01-09 13:39:08 -05:00
Jamie Snape
cf590c1236
ctest_memcheck: add support for standalone LeakSanitizer
2017-01-09 13:15:42 -05:00
Bill Hoffman
f0d50957b9
ctest: Improve output for -T memcheck
...
Show how many defects each test that had a defect produced.
Also tell the user where to find the full log files.
2016-11-17 09:38:06 -05:00
Betsy McPhail
3a523eec78
ctest_memcheck: Add DEFECT_COUNT option to capture defect count
2016-11-09 15:34:07 -05:00
Stephen Kelly
bf24b6c501
Tests: Guard more CTest tests against parallel execution.
2015-04-27 22:03:40 +02:00
Zack Galbreath
6bf130979e
CTest: Drop "Error in read script" message at end of testing
...
A more-specific error message is always displayed earlier in the
output if any real error occurred. This final summary message
is distracting to readers searching through the output for the
word "error". Simply drop it.
2015-02-27 10:31:02 -05:00
Zack Galbreath
0b87b2a339
ctest_memcheck: Add QUIET option
2015-02-23 10:02:00 -05:00
Brad King
e2b9e7f7bc
Tests: Drop unnecessary stderr matching from RunCMake.ctest_memcheck
...
The Dummy*-stderr.txt files were needed only to match platform-specific
memcheck tooling output and verify that stderr is otherwise empty. Now
that the RunCMake infrastructure knows how to strip such lines before
matching, we can simply drop these files and use the default empty
string match.
2015-02-23 10:01:58 -05:00
Brad King
1d82105e29
Tests: Rename RunCMake.{CTestMemcheck => ctest_memcheck}
...
Follow the convention of naming tests after the command they test.
2015-02-19 11:35:51 -05:00