Skip to content

Commit 4ba6285

Browse files
authored
Merge pull request #7539 from tautschnig/bugfixes/limit-string-size
Limit counterexample size to speed up regression tests
2 parents 1396782 + d9b0744 commit 4ba6285

File tree

4 files changed

+8
-20
lines changed

4 files changed

+8
-20
lines changed
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
THOROUGH
1+
CORE
22
My
3-
--function My.stringArg --java-assume-inputs-non-null
3+
--function My.stringArg --java-assume-inputs-non-null --max-nondet-string-length 10
44
^EXIT=10$
55
^SIGNAL=0$
66
^VERIFICATION FAILED$
@@ -10,6 +10,3 @@ My
1010
^warning: ignoring
1111
--
1212
Check that --java-assume-inputs-non-null restricts inputs to non-null strings
13-
14-
The test is marked "THOROUGH" as it requires more memory than may be available
15-
on some GitHub runners.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
THOROUGH
1+
CORE
22
Main
3-
--context-include Main.main --context-include 'Main.<clinit' --context-include org.cprover.MyClass --context-exclude 'org.cprover.MyClass$Inner.'
3+
--context-include Main.main --context-include 'Main.<clinit' --context-include org.cprover.MyClass --context-exclude 'org.cprover.MyClass$Inner.' --max-nondet-string-length 10
44
^EXIT=10$
55
^SIGNAL=0$
66
.* line 12 assertion at file Main.java line 12 .*: FAILURE
@@ -12,6 +12,3 @@ WARNING: no body for function .*
1212
--
1313
Tests that only the specified methods and classes are included, while
1414
the inner class from MyClass is excluded.
15-
16-
The test is marked "THOROUGH" as it requires more memory than may be available
17-
on some GitHub runners.
Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
THOROUGH
1+
CORE
22
Main
3-
--context-include Main.
3+
--context-include Main. --max-nondet-string-length 10
44
^EXIT=10$
55
^SIGNAL=0$
66
.* line 12 assertion at file Main.java line 12 .*: SUCCESS
@@ -11,6 +11,3 @@ Main
1111
WARNING: no body for function .*
1212
--
1313
Tests that only methods from the specified class are included.
14-
15-
The test is marked "THOROUGH" as it requires more memory than may be available
16-
on some GitHub runners.

jbmc/regression/jbmc/exceptions29/test.desc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
THOROUGH
1+
CORE
22
test
3-
--unwind 10
3+
--unwind 10 --max-nondet-string-length 10
44
^\[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$
55
^VERIFICATION FAILED$
66
^EXIT=10$
@@ -15,6 +15,3 @@ test.main gives the following exception table:
1515
8 22 25 Class java/lang/Exception
1616
0 7 45 Class MyException
1717
8 42 45 Class MyException
18-
19-
The test is marked "THOROUGH" as it requires more memory than may be available
20-
on some GitHub runners.

0 commit comments

Comments
 (0)