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
f4ebc5b0
Commit
f4ebc5b0
authored
16 years ago
by
Mirco Dotta
Browse files
Options
Downloads
Patches
Plain Diff
Manually compile each source. This is tedious but I'm not really an expert of bash scripts ...
parent
e95d03ea
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
forall-tests.sh
+19
-5
19 additions, 5 deletions
forall-tests.sh
with
19 additions
and
5 deletions
forall-tests.sh
+
19
−
5
View file @
f4ebc5b0
...
@@ -8,7 +8,7 @@ echo
...
@@ -8,7 +8,7 @@ echo
echo
echo
echo
"********************************************************************************"
echo
"********************************************************************************"
echo
"
Clean,
Compile and Build the distribution using ANT"
echo
"Compile and Build the distribution using ANT"
echo
"********************************************************************************"
echo
"********************************************************************************"
echo
echo
...
@@ -56,14 +56,25 @@ echo "Compile tests that have declared forAll properties."
...
@@ -56,14 +56,25 @@ echo "Compile tests that have declared forAll properties."
echo
"********************************************************************************"
echo
"********************************************************************************"
echo
echo
#This is needed for aliases to work correctly
#This is needed for aliases to work correctly
shopt
-s
expand_aliases
;
shopt
-s
expand_aliases
;
alias
scalac
=
".././scalac-funcheck -cp ../bin:../lib/ScalaCheck-1.5.jar -d ../bin/tests"
cd
tests
scalac plugin/BST.scala
scalac plugin/LeftistHeap.scala
cd
..
# Scala compiler with the Funcheck plugin integrated
# Scala compiler with the Funcheck plugin integrated
alias
scalac
=
"./scalac-funcheck"
#
alias scalac="./scalac-funcheck"
# compile examples using the compiler with the Funcheck plugin
# compile examples using the compiler with the Funcheck plugin
ant compile-funcheck-tests
#
ant compile-funcheck-tests
echo
echo
...
@@ -72,12 +83,15 @@ echo "Running tests with forAll properties."
...
@@ -72,12 +83,15 @@ echo "Running tests with forAll properties."
echo
"********************************************************************************"
echo
"********************************************************************************"
echo
echo
alias
scala
=
"scala -cp bin/
tests/
:
${
SCALACHECK_JAR
}
"
alias
scala
=
"scala -cp bin/:
${
SCALACHECK_JAR
}
:bin/tests/
"
# examples
# examples
export
BST
=
"funcheck.BST"
export
BST
=
"plugin.BST"
export
LeftistHeap
=
"plugin.LeftistHeap"
echo
" - Testing
${
BST
}
"
echo
" - Testing
${
BST
}
"
scala
${
BST
}
scala
${
BST
}
echo
" - Testing
${
LeftistHeap
}
"
scala
${
LeftistHeap
}
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