summaryrefslogtreecommitdiffstats
path: root/Tests/MumpsCoverage
Commit message (Collapse)AuthorAgeFilesLines
* CTest: Fix GTM coverage handling of entry point named "%"Joseph Snyder2018-10-163-30/+39
| | | | | | | Removing the "%" character from the name of the routine in the line parser causes CTest to be unable to find a routine entry point that is only named "%". Instead leave it during line parsing and handle routine names ending in "%" explicitly when loading files.
* Avoid CRLF newlines in Git repo blobsBrad King2017-08-301-45/+45
| | | | | | | | In commit 8ed03baa76 (gitattributes: prefer `eol=crlf` to `-crlf`, 2017-08-23) we left a few CRLF blobs in the repository. Some Git versions get confused by text files with CRLF blobs. Convert them to LF blobs. Use the `eol=crlf` attribute to tell Git to use CRLF on checkout.
* gitattributes: prefer `eol=crlf` to `-crlf`Ben Boeckel2017-08-231-1/+1
| | | | | | The `crlf` attribute is deprecated in Git. This also changes the given files to be in the index using LF newlines, but they will be checked out with CRLF newlines due to the attribute.
* MumpsCoverage: remove unnecessary attributeBen Boeckel2017-08-231-1/+0
| | | | The file has Unix newline endings.
* CTEST: Fix MUMPS file parser and update testJoseph Snyder2014-08-153-56/+78
| | | | | | | | | | The current file parser for a MUMPS routine uses a period "." as the one of the signals that a line of MUMPS code is executable. This is not a correct assumption. Add the period to the list of characters that CTest will not consider the start of a line of code. Update the test routine to have an entry point with code to match the scenario mentioned above.
* CTest: Fix MUMPS coverage parsing and testJoseph Snyder2014-05-166-1893/+104
| | | | | | | | | | | | | | | | Fix the MUMPS coverage parser: * Account for tabs after entry points * Stop double incrementing lines that have explicit calls to the 0 line * If a line has been previously marked as non executable, but then contains a count, increment it an extra one to push it back into the executable code set. Add a custom routine and corresponding coverage files in the test case. This file is smaller and has cmcov/mcov files that have data for only that routine.
* Update test data to match new coverage format.Bill Hoffman2012-05-071-1441/+1441
|
* Use <TARGET_FILE> expression to run ctest so it works with Xcode and VS IDE.Bill Hoffman2012-05-022-10/+2
| | | | Also add -crlf to the .gitconfig to handle the coverage data.
* Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2.Bill Hoffman2012-05-021-0/+8
| | | | | add_test with WORKING_DIRECTORY is too new to use in cmake. This change uses a configured script to run the command in the right directory.
* Add support for Cache coverage.Bill Hoffman2012-05-013-0/+314
| | | | | This adds support for Cache coverage parsing. A test is added that does a basic run of the coverage on a small bit of data.
* Add test for mumps coverage. Also refactor code to prepare for cache coverage.Bill Hoffman2012-05-015-0/+1601
Add a simple test to make sure the GTM mumps coverage is working. Also refactor the code so that cache coverage can be added.