You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit counterexample size to speed up regression tests
These regression tests only require 1-2 seconds of solving time, but may
produce counterexample traces that are greater than 8 GB on disk. Limit
the maximum string length (in none of the tests does the length even
matter) to avoid such artificial blow-up. Also, these tests were
possibly a lot slower with other solvers, simply because these would
produce different models. Before this PR, we had:
* assume-inputs-non-null/string_assume.desc:
** cadical: 165 seconds
** minisat: 0 seconds
* context-include-exclude/test_exclude_from_include.desc:
** cadical: 796 seconds
** minisat: 1 seconds
* context-include-exclude/test_include.desc:
** cadical: 802 seconds
** minisat: 1 seconds
* exceptions29/test.desc:
** cadical: 168 seconds
** minisat: 0 seconds
when the actual solver time was less than 2 seconds.
Copy file name to clipboardExpand all lines: jbmc/regression/jbmc/exceptions29/test.desc
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
-
THOROUGH
1
+
CORE
2
2
test
3
-
--unwind 10
3
+
--unwind 10 --max-nondet-string-length 10
4
4
^\[java::test.main:\(\[Ljava/lang/String;\)V\.assertion.1\] line 14 assertion at file test\.java line 14 function java::test.main:\(\[Ljava/lang/String;\)V bytecode-index 21: FAILURE$
5
5
^VERIFICATION FAILED$
6
6
^EXIT=10$
@@ -15,6 +15,3 @@ test.main gives the following exception table:
15
15
8 22 25 Class java/lang/Exception
16
16
0 7 45 Class MyException
17
17
8 42 45 Class MyException
18
-
19
-
The test is marked "THOROUGH" as it requires more memory than may be available
0 commit comments