Skip to content

Commit 9b2b116

Browse files
author
svorenova
committed
Update strings regression tests
1 parent 973e4cd commit 9b2b116

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
CORE
22
Test.class
3-
--function Test.check
3+
--function Test.check --no-refine-strings
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
77
file Test.java line 20 .*: FAILURE$
88
--
99
--
10-
--max-nondet-string-length is not used on purpose, because this tests the behaviour
11-
of string refinement on very large strings.
10+
--max-nondet-string-length is not bounded when --no-refine-strings is given,
11+
this tests the behaviour of string refinement on very large strings.
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
CORE
22
Test.class
3-
--function Test.checkAbort --trace
3+
--function Test.checkAbort --trace --no-refine-strings
44
^EXIT=10$
55
^SIGNAL=0$
66
dynamic_object[0-9]*=\(assignment removed\)
77
--
88
--
99
This tests that the object does not appear in the trace, because concretizing
10-
a string of the required length may take too much memory.
10+
a string of the required length may take too much memory. --no-refine-strings
11+
ensures that max-nondet-string-length is not bounded
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--function Test.checkMinLength --string-non-empty
3+
--function Test.checkMinLength --string-non-empty --no-refine-strings
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion.* line 11 function java::Test.checkMinLength.*: SUCCESS
@@ -9,3 +9,5 @@ assertion.* line 17 function java::Test.checkMinLength.*: FAILURE
99
assertion.* line 19 function java::Test.checkMinLength.*: FAILURE
1010
--
1111
^Building error trace
12+
--
13+
--no-refine-strings ensures that max-nondet-string-length is not bounded

0 commit comments

Comments
 (0)