Commit Graph

10 Commits

Author SHA1 Message Date
Owen c4cd7aeca6 Do not use backtick as opening single quote
Replace it with '. For example, This changes an error message from
failed to load class `java.nio.file.Path'
to
failed to load class 'java.nio.file.Path'

The reason is that the convention of using ` for opening single
quotes looks odd in most modern fonts. For more discussion please
read:

https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
2019-07-29 10:28:44 +01:00
Daniel Kroening 3e8b9d9240 use apply in cover_util
This avoids the case split over the instruction type.
2019-05-03 16:50:18 +01:00
Peter Schrammel 15f44c7662 Revert "Mark tests which fail due to invariant violations"
This reverts commit d423c65705.
2018-07-09 18:14:12 +01:00
reuk d423c65705 Mark tests which fail due to invariant violations
There was an issue in cover.cpp where the begin() of an empty vector was
dereferenced. To avoid this case, we add an INVARIANT which checks that
the vector has at least one element. However, this causes some of the
tests to fail, so these have been marked KNOWNBUG.
2017-11-27 14:09:39 +00:00
Norbert Manthey 900a0fcb8b tests: do not match iterations line
During tests, the number of used iterations has been matched. When using
different SAT solvers, these numbers differ. Without the numbers, the
line is actually useless, so that we drop it completely.
2017-10-27 21:19:08 +02:00
Norbert Manthey 751208d28e tests: drop number of iterations
When checking for success or failure of a test, the number of iterations
in the actual test should be irrelevant. As MiniSAT and PicoSAT seem to
disagree on this number, do not check for it, so that the testis pass
again.
2017-10-27 21:19:08 +02:00
thk123 9b052c200f Modified tests to pass without using grep
Now directly test individual lines with perls regex matching rather than
calling out to grep. Some changes were required:

- escape (,  ) if we want to match them
- unescape (, ) if we want to use them as regex bracket groups
- escape +, $ if we want to use them as actual characters
- unescape + to use as a regex +
2017-02-14 17:29:15 +00:00
Robert (Jamie) Munro d53dbf9560 Remove trailing whitespace from all lines 2016-11-29 09:58:36 +00:00
theyoucheng c7343b33dc Refactored the code for mcdc coverage; added a debug test case "cbmc-cover/mcdc6/". 2016-08-09 22:06:30 +01:00
theyoucheng b4c8ec5162 Added test cases for mcdc coverage. 2016-08-09 16:52:41 +01:00