Skip to content

Commit 60bfbd0

Browse files
Reduce string-max-length on String.equals test
Execution time can vary depending on what the sat solver find as a model at the refinement steps. Observed execution time go from 0.2s to 7s. Setting the limit to 100 limit these variations (maximum observed is 0.3s).
1 parent 50cfe34 commit 60bfbd0

File tree

1 file changed

+1
-1
lines changed
  • regression/jbmc-strings/StringEquals

1 file changed

+1
-1
lines changed

regression/jbmc-strings/StringEquals/test.desc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
CORE
22
Test.class
3-
--refine-strings --string-max-length 1000 --function Test.check
3+
--refine-strings --string-max-length 40 --function Test.check
44
^EXIT=10$
55
^SIGNAL=0$
66
assertion at file Test.java line 6 .* SUCCESS

0 commit comments

Comments
 (0)