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
f57be1fa
Commit
f57be1fa
authored
15 years ago
by
Mirco Dotta
Browse files
Options
Downloads
Patches
Plain Diff
updated scripts so that they work after all directory changes I have made in previous commits.
parent
0c2818cb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.xml
+3
-3
3 additions, 3 deletions
build.xml
forall-tests.sh
+31
-17
31 additions, 17 deletions
forall-tests.sh
with
34 additions
and
20 deletions
build.xml
+
3
−
3
View file @
f57be1fa
...
...
@@ -115,7 +115,7 @@
</manifest>
<jar
destfile=
"${dist.jar}"
manifest=
"${dist.dir}/MANIFEST.MF"
>
<fileset
dir=
"${build.dir}"
/>
<fileset
dir=
"${build.
plugin.funcheck.
dir}"
/>
<fileset
file=
"./scalac-plugin.xml"
/>
</jar>
...
...
@@ -124,8 +124,8 @@
</target>
<target
name=
"compile-examples"
depends=
"dist"
description=
"compile the examples"
>
<mkdir
dir=
"${build.examples.dir}"
/>
<scalac
srcdir=
"${examples.dir}"
destdir=
"${build.examples.dir}"
force=
"changed"
addparams=
"${scalac.
default.params
}"
>
<mkdir
dir=
"${build.examples.dir}"
/>
<scalac
srcdir=
"${examples.dir}"
destdir=
"${build.examples.dir}"
force=
"changed"
addparams=
"${scalac.
funcheck.plugin
}"
>
<classpath>
<path
refid=
"scala.lib.extension.path"
/>
<path
refid=
"build.path"
/>
...
...
This diff is collapsed.
Click to expand it.
forall-tests.sh
+
31
−
17
View file @
f57be1fa
...
...
@@ -61,9 +61,23 @@ echo
shopt
-s
expand_aliases
;
alias
scalac
=
"./scalac-funcheck"
alias
scalac
=
"./scalac-funcheck -cp lib/ScalaCheck-1.5.jar:bin/lib/:bin/scala -d bin/examples"
scalac examples/plugin/BST.scala
scalac examples/plugin/LeftistHeap.scala
scalac examples/plugin/ListSet.scala
scalac examples/plugin/LambdaEvaluator.scala
scalac examples/plugin/PropositionalLogic.scala
scalac examples/plugin/SetRedBlackTree.scala
scalac examples/plugin/ConsSnoc.scala
scalac examples/plugin/kawaguchi_pldi2010/InsertSort.scala
scalac examples/plugin/kawaguchi_pldi2010/MergeSort.scala
scalac examples/plugin/kawaguchi_pldi2010/MergeSortBug.scala
scalac examples/plugin/kawaguchi_pldi2010/QuickSort.scala
scalac examples/plugin/kawaguchi_pldi2010/MapReduce.scala
scalac examples/plugin/kawaguchi_pldi2010/SplayHeap.scala
ant compile-examples
# Scala compiler with the Funcheck plugin integrated
#alias scalac="./scalac-funcheck"
...
...
@@ -78,25 +92,25 @@ echo "Running tests with forAll properties."
echo
"********************************************************************************"
echo
export
CP
=
"bin/:
${
SCALACHECK_JAR
}
:
dist/funcheck-plugin.jar:
bin/scala:bin/examples/:bin/lib"
export
CP
=
"bin/:
${
SCALACHECK_JAR
}
:bin/scala:bin/examples/:bin/lib"
alias
scala
=
"scala -cp
${
CP
}
"
# examples
export
BST
=
"
funcheck
.BST"
export
LeftistHeap
=
"
funcheck
.LeftistHeap"
export
ListSet
=
"
funcheck
.ListSet"
export
LambdaEvaluator
=
"
funcheck
.LambdaEvaluator"
export
PropositionalLogic
=
"
funcheck
.PropositionalLogic"
export
SetRedBlackTree
=
"
funcheck
.SetRedBlackTree"
export
ConsSnoc
=
"
funcheck
.ConsSnoc"
export
InsertSort
=
"
funcheck
.kawaguchi_pldi2010.InsertSort"
export
MergeSort
=
"
funcheck
.kawaguchi_pldi2010.MergeSort"
export
MergeSortBug
=
"
funcheck
.kawaguchi_pldi2010.MergeSortBug"
export
QuickSort
=
"
funcheck
.kawaguchi_pldi2010.QuickSort"
export
MapReduce
=
"
funcheck
.kawaguchi_pldi2010.MapReduce"
export
SplayHeap
=
"
funcheck
.kawaguchi_pldi2010.SplayHeap"
export
BST
=
"
plugin
.BST"
export
LeftistHeap
=
"
plugin
.LeftistHeap"
export
ListSet
=
"
plugin
.ListSet"
export
LambdaEvaluator
=
"
plugin
.LambdaEvaluator"
export
PropositionalLogic
=
"
plugin
.PropositionalLogic"
export
SetRedBlackTree
=
"
plugin
.SetRedBlackTree"
export
ConsSnoc
=
"
plugin
.ConsSnoc"
export
InsertSort
=
"
plugin
.kawaguchi_pldi2010.InsertSort"
export
MergeSort
=
"
plugin
.kawaguchi_pldi2010.MergeSort"
export
MergeSortBug
=
"
plugin
.kawaguchi_pldi2010.MergeSortBug"
export
QuickSort
=
"
plugin
.kawaguchi_pldi2010.QuickSort"
export
MapReduce
=
"
plugin
.kawaguchi_pldi2010.MapReduce"
export
SplayHeap
=
"
plugin
.kawaguchi_pldi2010.SplayHeap"
echo
" - Testing
${
BST
}
"
scala
${
BST
}
...
...
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