Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FloVer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AVA
FloVer
Commits
c14e244d
Commit
c14e244d
authored
3 years ago
by
Heiko Becker
Browse files
Options
Downloads
Patches
Plain Diff
Disable coq regression tests
parent
e9d32af9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/regressiontests.sh
+45
-45
45 additions, 45 deletions
scripts/regressiontests.sh
with
45 additions
and
45 deletions
scripts/regressiontests.sh
+
45
−
45
View file @
c14e244d
#!/bin/bash
HOLCOMMIT
=
"
$(
cat
./hol4/.HOLCOMMIT
)
"
#
HOLCOMMIT="$(cat ./hol4/.HOLCOMMIT)"
FLOVERDIR
=
"
$(
pwd
)
"
#HOL4 regression tests
if
[
!
-d
"./HOL4"
]
;
then
echo
"HOL4 not installed, starting to install HOL4 into current directory."
echo
"If this is not intended, please abort with Ctrl-c"
sleep
5
git clone https://github.com/HOL-Theorem-Prover/HOL.git HOL4
cd
HOL4
git checkout
$HOLCOMMIT
poly < tools/smart-configure.sml
bin/build
export
HOLDIR
=
"
$(
pwd
)
"
cd
../
else
cd
./HOL4
export
HOLDIR
=
"
$(
pwd
)
"
git pull
CURRHOL
=
"
$(
git rev-parse HEAD
)
"
if
[[
"
$CURRHOL
"
!=
"
$HOLCOMMIT
"
]]
;
then
echo
"Updating HOL4 to latest version specified in .HOLCOMMIT"
git checkout
$HOLCOMMIT
bin/build cleanAll
poly < tools/smart-configure.sml
bin/build
else
echo
"HOL4 up-to-date"
fi
cd
$FLOVERDIR
fi
eval
`
opam config
env
`
#
if [ ! -d "./HOL4" ];
#
then
#
echo "HOL4 not installed, starting to install HOL4 into current directory."
#
echo "If this is not intended, please abort with Ctrl-c"
#
sleep 5
#
#
git clone https://github.com/HOL-Theorem-Prover/HOL.git HOL4
#
cd HOL4
#
git checkout $HOLCOMMIT
#
poly < tools/smart-configure.sml
#
bin/build
#
export HOLDIR="$(pwd)"
#
cd ../
#
else
#
cd ./HOL4
#
export HOLDIR="$(pwd)"
#
git pull
#
CURRHOL="$(git rev-parse HEAD)"
#
if [[ "$CURRHOL" != "$HOLCOMMIT" ]];
#
then
#
echo "Updating HOL4 to latest version specified in .HOLCOMMIT"
#
git checkout $HOLCOMMIT
#
bin/build cleanAll
#
poly < tools/smart-configure.sml
#
bin/build
#
else
#
echo "HOL4 up-to-date"
#
fi
#
cd $FLOVERDIR
#
fi
#
#
eval `opam config env`
cd
./testcases/regression
#Coq regression tests
for
fname
in
./
*
.v
;
do
coqc
-R
../../coq Flover
$fname
if
[
$?
-eq
0
]
then
echo
"Successfully checked
$fname
"
else
echo
"Checking
$fname
failed"
exit
1
;
fi
done
#Coq regression tests
- disabled
#
for fname in ./*.v; do
#
coqc -R ../../coq Flover $fname
#
if [ $? -eq 0 ]
#
then
#
echo "Successfully checked $fname"
#
else
#
echo "Checking $fname failed"
#
exit 1;
#
fi
#
#
done
#HOL4 regression tests
$HOLDIR
/bin/Holmake heap
...
...
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