Skip to content
Snippets Groups Projects
Commit 92a3c857 authored by Marco Antognini's avatar Marco Antognini Committed by Etienne Kneuss
Browse files

Update GenCSuite, partially revert "Fix verification sub-suite for GenC"

parent dcc75c6f
No related branches found
No related tags found
No related merge requests found
...@@ -189,8 +189,7 @@ class GenCSuite extends LeonRegressionSuite { ...@@ -189,8 +189,7 @@ class GenCSuite extends LeonRegressionSuite {
override def suiteName = "Verification Suite For GenC" override def suiteName = "Verification Suite For GenC"
// Add a timeout for the verification // Add a timeout for the verification
override def optionVariants = override val optionVariants = List(List("--solvers=smt-z3,ground"))
super.optionVariants map { opts => "--timeout=5" :: opts }
} }
// Run verification suite as a nested suite // Run verification suite as a nested suite
......
...@@ -19,7 +19,7 @@ import org.scalatest.{Reporter => _, _} ...@@ -19,7 +19,7 @@ import org.scalatest.{Reporter => _, _}
// This is because we compile all tests from each folder together. // This is because we compile all tests from each folder together.
trait VerificationSuite extends LeonRegressionSuite { trait VerificationSuite extends LeonRegressionSuite {
def optionVariants: List[List[String]] val optionVariants: List[List[String]]
val testDir: String val testDir: String
val ignored: Seq[String] = Seq() val ignored: Seq[String] = Seq()
......
...@@ -9,7 +9,7 @@ import leon.solvers.SolverFactory ...@@ -9,7 +9,7 @@ import leon.solvers.SolverFactory
// This is because we compile all tests from each folder together. // This is because we compile all tests from each folder together.
class XLangVerificationSuite extends VerificationSuite { class XLangVerificationSuite extends VerificationSuite {
def optionVariants: List[List[String]] = { val optionVariants: List[List[String]] = {
val isZ3Available = SolverFactory.hasZ3 val isZ3Available = SolverFactory.hasZ3
List( List(
...@@ -25,3 +25,4 @@ class XLangVerificationSuite extends VerificationSuite { ...@@ -25,3 +25,4 @@ class XLangVerificationSuite extends VerificationSuite {
val testDir: String = "regression/verification/xlang/" val testDir: String = "regression/verification/xlang/"
override val desugarXLang = true override val desugarXLang = true
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment