From c14e244d1964ebba1623dcbabde1f31f6d732be2 Mon Sep 17 00:00:00 2001
From: Heiko Becker <hbecker@mpi-sws.org>
Date: Thu, 9 Sep 2021 11:18:33 +0200
Subject: [PATCH] Disable coq regression tests

---
 scripts/regressiontests.sh | 90 +++++++++++++++++++-------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

diff --git a/scripts/regressiontests.sh b/scripts/regressiontests.sh
index d93611a4..8a6d2e68 100755
--- a/scripts/regressiontests.sh
+++ b/scripts/regressiontests.sh
@@ -1,56 +1,56 @@
 #!/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
-- 
GitLab