Skip to content

Commit

Permalink
Reduce string-max-length on String.equals test
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
romainbrenguier committed Mar 24, 2018
1 parent e4f4921 commit 1238d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regression/jbmc-strings/StringEquals/test.desc
@@ -1,6 +1,6 @@
CORE
Test.class
--refine-strings --string-max-length 1000 --function Test.check
--refine-strings --string-max-length 40 --function Test.check
^EXIT=10$
^SIGNAL=0$
assertion at file Test.java line 6 .* SUCCESS
Expand Down

0 comments on commit 1238d63

Please sign in to comment.