Commit Graph

5 Commits

Author SHA1 Message Date
Romain Brenguier 52a08d8c34 Setting string-max-length on strings test
The solver can run out of memory in an unpredictable way when string
max length is not set.
2017-09-29 12:32:52 +01:00
Joel Allred c7691a4ffd Restructuration of tests on strings
Add test java_intern
Adapt test.desc to new output format
Make more robust java tests.
Add test for parseint.

Correction in the hacks to use refined strings in C programs

Add smoke tests for java string support
Quick set of tests.
Created by modifying the existing development tests.
Longer tests are run when using 'make testall'.
Format of java files was adapted.
No change to the validation tests (written by Lucas Cordeiro).

Update smoke tests

Add a series of performance tests that check that the negation of the
assertions found in the smoke tests indeed fail.

Update java_char_array_init/test_init.class

Add first fixed_bugs test
For bug #95

Update test description with new option name
String refinement option name has changed to --refine-strings

Formatting in cprover-string-hack.h

Move smoke tests to regression folder.

Move fixed bugs tests to strings folder

Move string perfomance tests to strings directory

These are not really performance tests, only tests that are longer than
the smoke tests.

Adapt Makefile for new location of smoke tests
2017-03-24 11:55:40 +00: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
Romain Brenguier f2c4804fc9 Regression test for the string-refine option
We are going to add a string-refine option to CBMC, (instead a pass
option as used in previous version of the tests).
We changed the test description file accordingly and added a few
extra tests (for java char arrays).

Also changed the flag in string regression from CORE to FUTURE:
Since the string solver is not yet part of this branch, we mark the
tests for string functions as FUTURE. They will be changed to CORE
once the corresponding features are integrated in CBMC.
I also changed the Makefile for being able to test tests marked as
future.
2016-12-27 10:03:05 +00:00
Romain Brenguier e6d97e1a3b Regressions tests for string functions 2016-10-27 10:26:01 +01:00