Skip to content
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

Bound unfolding in Inox rather than rely on timeouts in PartialEvaluator #719

Open
wants to merge 7 commits into
base: scala-2
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add simple test suite for bounded unfolding
romac committed Jan 22, 2020
commit f8da857f197e5309a50ffb4f583476f810b52de6
3 changes: 1 addition & 2 deletions .larabot.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
commands = [
"sbt -batch -Dparallel=5 test"
"sbt -batch -Dparallel=5 it:test"
"sbt -batch -Dparallel=1 it:testOnly *SMTZ3Unroll*"
]

nightly {
Original file line number Diff line number Diff line change
@@ -64,6 +64,20 @@ class SMTZ3VerificationSuite extends VerificationSuite {
}
}

class SMTZ3UnrollBoundVerificationSuite(unrollBound: Int, unrollFactor: Int) extends SMTZ3VerificationSuite {
override def configurations = super.configurations.map {
seq => Seq(
inox.solvers.unrolling.optUnrollBound(unrollBound),
inox.solvers.unrolling.optUnrollFactor(unrollFactor),
) ++ seq
}
}

class SMTZ3UnrollBoundOneOneSuite extends SMTZ3UnrollBoundVerificationSuite(1, 1)
class SMTZ3UnrollBoundOneTwoSuite extends SMTZ3UnrollBoundVerificationSuite(1, 2)
class SMTZ3UnrollBoundTwoOneSuite extends SMTZ3UnrollBoundVerificationSuite(2, 1)
class SMTZ3UnrollBoundTwoTwoSuite extends SMTZ3UnrollBoundVerificationSuite(2, 2)

class CodeGenVerificationSuite extends SMTZ3VerificationSuite {
override def configurations = super.configurations.map {
seq => Seq(