Skip to content

Limit counterexample size to speed up regression tests #7539

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
CORE
My
--function My.stringArg --java-assume-inputs-non-null
--function My.stringArg --java-assume-inputs-non-null --max-nondet-string-length 10
^EXIT=10$
^SIGNAL=0$
^VERIFICATION FAILED$
Expand All @@ -10,6 +10,3 @@ My
^warning: ignoring
--
Check that --java-assume-inputs-non-null restricts inputs to non-null strings

The test is marked "THOROUGH" as it requires more memory than may be available
on some GitHub runners.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
CORE
Main
--context-include Main.main --context-include 'Main.<clinit' --context-include org.cprover.MyClass --context-exclude 'org.cprover.MyClass$Inner.'
--context-include Main.main --context-include 'Main.<clinit' --context-include org.cprover.MyClass --context-exclude 'org.cprover.MyClass$Inner.' --max-nondet-string-length 10
^EXIT=10$
^SIGNAL=0$
.* line 12 assertion at file Main.java line 12 .*: FAILURE
Expand All @@ -12,6 +12,3 @@ WARNING: no body for function .*
--
Tests that only the specified methods and classes are included, while
the inner class from MyClass is excluded.

The test is marked "THOROUGH" as it requires more memory than may be available
on some GitHub runners.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
CORE
Main
--context-include Main.
--context-include Main. --max-nondet-string-length 10
^EXIT=10$
^SIGNAL=0$
.* line 12 assertion at file Main.java line 12 .*: SUCCESS
Expand All @@ -11,6 +11,3 @@ Main
WARNING: no body for function .*
--
Tests that only methods from the specified class are included.

The test is marked "THOROUGH" as it requires more memory than may be available
on some GitHub runners.
7 changes: 2 additions & 5 deletions jbmc/regression/jbmc/exceptions29/test.desc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
THOROUGH
CORE
test
--unwind 10
--unwind 10 --max-nondet-string-length 10
^\[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$
^VERIFICATION FAILED$
^EXIT=10$
Expand All @@ -15,6 +15,3 @@ test.main gives the following exception table:
8 22 25 Class java/lang/Exception
0 7 45 Class MyException
8 42 45 Class MyException

The test is marked "THOROUGH" as it requires more memory than may be available
on some GitHub runners.