Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
inox
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LARA
inox
Commits
45496c70
Commit
45496c70
authored
8 years ago
by
Nicolas Voirol
Committed by
Ravi
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Attempt at reducing native-z3 parallelism during tests
parent
87c04766
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.larabot.conf
+1
-0
1 addition, 0 deletions
.larabot.conf
build.sbt
+10
-2
10 additions, 2 deletions
build.sbt
src/test/scala/leon/regression/verification/purescala/PureScalaVerificationSuite.scala
+8
-7
8 additions, 7 deletions
...n/verification/purescala/PureScalaVerificationSuite.scala
with
19 additions
and
9 deletions
.larabot.conf
+
1
−
0
View file @
45496c70
...
@@ -2,6 +2,7 @@ commands = [
...
@@ -2,6 +2,7 @@ commands = [
"sbt -batch -Dparallel=10 test"
"sbt -batch -Dparallel=10 test"
"sbt -batch -Dparallel=10 integration:test"
"sbt -batch -Dparallel=10 integration:test"
"sbt -batch -Dparallel=10 regression:test"
"sbt -batch -Dparallel=10 regression:test"
"sbt -batch -Dparallel=10 native:test"
"sbt -batch -Dparallel=10 genc:test"
"sbt -batch -Dparallel=10 genc:test"
"sbt -batch -Dparallel=10 isabelle:test"
"sbt -batch -Dparallel=10 isabelle:test"
]
]
...
...
This diff is collapsed.
Click to expand it.
build.sbt
+
10
−
2
View file @
45496c70
...
@@ -148,12 +148,19 @@ lazy val IntegrTest = config("integration") extend(Test)
...
@@ -148,12 +148,19 @@ lazy val IntegrTest = config("integration") extend(Test)
testOptions
in
IntegrTest
:=
Seq
(
Tests
.
Argument
(
"-oDF"
),
Tests
.
Filter
(
_
startsWith
"leon.integration."
))
testOptions
in
IntegrTest
:=
Seq
(
Tests
.
Argument
(
"-oDF"
),
Tests
.
Filter
(
_
startsWith
"leon.integration."
))
def
regressionFilter
(
name
:
String
,
native
:
Boolean
=
false
)
:
Boolean
=
name
.
startsWith
(
"leon.regression"
)
&&
(
name
.
endsWith
(
"NativeZ3"
)
==
native
)
// Regression Tests
// Regression Tests
lazy
val
RegressionTest
=
config
(
"regression"
)
extend
(
Test
)
lazy
val
RegressionTest
=
config
(
"regression"
)
extend
(
Test
)
testOptions
in
RegressionTest
:=
Seq
(
Tests
.
Argument
(
"-oDF"
),
Tests
.
Filter
(
_
startsWith
"leon.
regression
."
))
testOptions
in
RegressionTest
:=
Seq
(
Tests
.
Argument
(
"-oDF"
),
Tests
.
Filter
(
regression
Filter
(
_
)
))
// Regression Tests that heavily depend on native Z3
lazy
val
NativeZ3RegressionTest
=
config
(
"native"
)
extend
(
Test
)
testOptions
in
NativeZ3RegressionTest
:=
Seq
(
Tests
.
Argument
(
"-oDF"
),
Tests
.
Filter
(
regressionFilter
(
_
,
native
=
true
)))
parallelExecution
in
NativeZ3RegressionTest
:=
false
// Isabelle Tests
// Isabelle Tests
...
@@ -179,9 +186,10 @@ lazy val bonsai = ghProject("git://github.com/colder/bonsai.git", "10ea
...
@@ -179,9 +186,10 @@ lazy val bonsai = ghProject("git://github.com/colder/bonsai.git", "10ea
lazy
val
scalaSmtlib
=
ghProject
(
"git://github.com/regb/scala-smtlib.git"
,
"57834acfe2e3bc36862be52e4d99829bb8ff0ca7"
)
lazy
val
scalaSmtlib
=
ghProject
(
"git://github.com/regb/scala-smtlib.git"
,
"57834acfe2e3bc36862be52e4d99829bb8ff0ca7"
)
lazy
val
root
=
(
project
in
file
(
"."
)).
lazy
val
root
=
(
project
in
file
(
"."
)).
configs
(
RegressionTest
,
IsabelleTest
,
GenCTest
,
IntegrTest
).
configs
(
RegressionTest
,
NativeZ3RegressionTest
,
IsabelleTest
,
GenCTest
,
IntegrTest
).
dependsOn
(
bonsai
).
dependsOn
(
bonsai
).
dependsOn
(
scalaSmtlib
).
dependsOn
(
scalaSmtlib
).
settings
(
inConfig
(
NativeZ3RegressionTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
RegressionTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
RegressionTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
IntegrTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
IntegrTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
IsabelleTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
settings
(
inConfig
(
IsabelleTest
)(
Defaults
.
testTasks
++
testSettings
)
:
_
*
).
...
...
This diff is collapsed.
Click to expand it.
src/test/scala/leon/regression/verification/purescala/PureScalaVerificationSuite.scala
+
8
−
7
View file @
45496c70
...
@@ -32,13 +32,13 @@ trait PureScalaValidSuite extends PureScalaVerificationSuite {
...
@@ -32,13 +32,13 @@ trait PureScalaValidSuite extends PureScalaVerificationSuite {
override
def
testAll
()
=
testValid
()
override
def
testAll
()
=
testValid
()
}
}
class
PureScalaValidSuite
1
extends
PureScalaValidSuite
{
class
PureScalaValidSuite
LuckyNativeZ3
extends
PureScalaValidSuite
{
val
optionVariants
=
List
(
opts
(
0
))
val
optionVariants
=
List
(
opts
(
0
))
}
}
class
PureScalaValidSuite
2
extends
PureScalaValidSuite
{
class
PureScalaValidSuite
CodeGenNativeZ3
extends
PureScalaValidSuite
{
val
optionVariants
=
List
(
opts
(
1
))
val
optionVariants
=
List
(
opts
(
1
))
}
}
class
PureScalaValidSuite3
extends
PureScalaValidSuite
{
// tests verification with --codegen parameter
class
PureScalaValidSuite
EnumNativeZ
3
extends
PureScalaValidSuite
{
val
optionVariants
=
List
(
opts
(
2
))
val
optionVariants
=
List
(
opts
(
2
))
override
val
ignored
=
Seq
(
"valid/Predicate.scala"
,
"valid/TraceInductTacticTest.scala"
)
override
val
ignored
=
Seq
(
"valid/Predicate.scala"
,
"valid/TraceInductTacticTest.scala"
)
}
}
...
@@ -53,10 +53,14 @@ trait PureScalaInvalidSuite extends PureScalaVerificationSuite {
...
@@ -53,10 +53,14 @@ trait PureScalaInvalidSuite extends PureScalaVerificationSuite {
override
def
testAll
()
=
testInvalid
()
override
def
testAll
()
=
testInvalid
()
}
}
class
PureScalaInvalidSuite
Fair
Z3
extends
PureScalaInvalidSuite
{
class
PureScalaInvalidSuite
Native
Z3
extends
PureScalaInvalidSuite
{
val
optionVariants
=
opts
.
take
(
3
)
val
optionVariants
=
opts
.
take
(
3
)
}
}
class
PureScalaInvalidSuiteZ3
extends
PureScalaInvalidSuite
{
val
optionVariants
=
isZ3Available
.
option
(
opts
(
3
)).
toList
}
class
PureScalaInvalidSuiteCVC4
extends
PureScalaInvalidSuite
{
class
PureScalaInvalidSuiteCVC4
extends
PureScalaInvalidSuite
{
val
optionVariants
=
isCVC4Available
.
option
(
opts
.
last
).
toList
val
optionVariants
=
isCVC4Available
.
option
(
opts
.
last
).
toList
override
val
ignored
=
List
(
override
val
ignored
=
List
(
...
@@ -66,6 +70,3 @@ class PureScalaInvalidSuiteCVC4 extends PureScalaInvalidSuite {
...
@@ -66,6 +70,3 @@ class PureScalaInvalidSuiteCVC4 extends PureScalaInvalidSuite {
)
)
}
}
class
PureScalaInvalidSuiteZ3
extends
PureScalaInvalidSuite
{
val
optionVariants
=
isZ3Available
.
option
(
opts
(
3
)).
toList
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment