Commit d9b0744
committed
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.1 parent 1396782 commit d9b0744
File tree
4 files changed
+8
-20
lines changed- jbmc/regression/jbmc
- assume-inputs-non-null
- context-include-exclude
- exceptions29
4 files changed
+8
-20
lines changedLines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
Lines changed: 2 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | | - | |
16 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
0 commit comments