Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/*/spkg-check.in: Remove messages that duplicate sage-spkg …
Browse files Browse the repository at this point in the history
…messages
  • Loading branch information
Matthias Koeppe committed Apr 15, 2020
1 parent 1383a59 commit 2533a67
Show file tree
Hide file tree
Showing 50 changed files with 4 additions and 298 deletions.
7 changes: 0 additions & 7 deletions build/pkgs/4ti2/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,4 @@ cd src
# We don't have to set up any environment variables here since the
# Makefiles already have them from 'configure'.

echo "Now running 4ti2's test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: The 4ti2 test suite failed."
exit 1
fi

echo "The 4ti2 test suite passed successfully."
4 changes: 2 additions & 2 deletions build/pkgs/atlas/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ make_check()
# make sure everything builds correctly
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: The ATLAS self-tests failed."
echo >&2 "The ATLAS self-tests failed."
exit 1
else
echo "The ATLAS self-tests successfully passed."
Expand All @@ -35,7 +35,7 @@ make_time()
# collect some timings
$MAKE time
if [ $? -ne 0 ]; then
echo >&2 "Error: The ATLAS timing data failed to be collected."
echo >&2 "The ATLAS timing data failed to be collected."
exit 1
else
echo "The ATLAS timing data was successfully collected."
Expand Down
7 changes: 0 additions & 7 deletions build/pkgs/cliquer/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
cd src

echo "Now building and running cliquer's test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: The cliquer's test suite failed."
exit 1
fi

echo "The cliquer's test suite passed successfully."
4 changes: 0 additions & 4 deletions build/pkgs/coxeter3/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
cd src

$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error running coxeter testsuite"
exit 1
fi
14 changes: 0 additions & 14 deletions build/pkgs/cvxopt/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src

if ! command -v nosetests ; then
echo >&2 'Testing cvxopt requires the package nose to be installed'
exit 1
fi

echo "Testing cvxopt..."

nosetests

if [ $? -ne 0 ]; then
echo >&2 "Error running self tests."
exit 1
fi

6 changes: 0 additions & 6 deletions build/pkgs/cysignals/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,7 +1 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "SAGE_LOCAL undefined ... exiting"
echo >&2 "Maybe run 'sage --sh'?"
exit 1
fi

cd src && $MAKE check-install PYTHON=sage-python23
5 changes: 1 addition & 4 deletions build/pkgs/dot2tex/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ for file in test_*.py; do
sage-python23 $file || passed=false
done
echo
if $passed; then
echo "dot2tex's test suite passed successfully."
else
echo >&2 "Error(s) running dot2tex's test suite."
if ! $passed; then
exit 1
fi
7 changes: 0 additions & 7 deletions build/pkgs/eclib/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,4 @@

cd src

echo
echo "Now running eclib's test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: eclib's test suite failed to pass."
exit 1
fi
echo "eclib's test suite passed without errors."
15 changes: 0 additions & 15 deletions build/pkgs/ecm/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,25 +1,10 @@
if [ -z "$SAGE_LOCAL" ]; then
echo >&2 "Error: SAGE_LOCAL undefined - exiting..."
exit 1
fi

# Note: Running the test suite should not involve (re)compilation,
# so we don't set CFLAGS et al. here. (Their settings are
# stored in the Makefiles created by 'configure' anyway.)

cd src

echo
echo "Now running GMP-ECM's test suite..."

$MAKE check
# There are potential race conditions in the long check,
# running it serially.
$MAKE -j1 longcheck

if [ $? -ne 0 ]; then
echo >&2 "Error: GMP-ECM's test suite failed."
exit 1
fi

echo "GMP-ECM's test suite passed."
5 changes: 0 additions & 5 deletions build/pkgs/flint/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,3 @@

cd src
$MAKE check AT= QUIET_CC= QUIET_CXX= QUIET_AR=

if [ $? -ne 0 ]; then
echo >&2 "Error: FLINT failed to pass its test suite."
exit 1
fi
7 changes: 0 additions & 7 deletions build/pkgs/fplll/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,4 @@ if [ "$UNAME" = "CYGWIN" ]; then
MAKE="$MAKE -j1"
fi

echo "Now building and running libfplll test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: The libfplll test suite failed."
exit 1
fi

echo "The libfplll test suite passed successfully."
3 changes: 0 additions & 3 deletions build/pkgs/gap/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export LC_CTYPE=en_US.UTF-8

make testinstall
if [[ $? -ne 0 ]]; then
echo >&2 "Error running the GAP testsuite."
exit 1
fi

Expand All @@ -18,7 +17,5 @@ echo "================================================================"

ERRORS=`grep ^##### $LOG`
if [[ ! -z "$ERRORS" ]]; then
echo >&2 "Error running the GAP testsuite."
exit 1
fi
echo "The GAP testsuite completed successfully."
5 changes: 0 additions & 5 deletions build/pkgs/gc/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,3 @@ else
fi

$MAKE check

if [ $? -ne 0 ]; then
echo "Error testing BoehmGC."
exit 1
fi
5 changes: 0 additions & 5 deletions build/pkgs/gf2x/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,2 @@
cd src
$MAKE check

if [ $? -ne 0 ]; then
echo >&2 "Error: gf2x failed to pass its test suite."
exit 1
fi
6 changes: 0 additions & 6 deletions build/pkgs/giac/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,3 @@ mv src/icas src/icas.orig
# testing the newly installed version of giac
ln -s $SAGE_LOCAL/bin/giac src/icas
$MAKE check

if [ $? -ne 0 ]; then
echo "There was a problem during the giac tests."
exit 1
fi

6 changes: 0 additions & 6 deletions build/pkgs/giacpy_sage/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# --force-lib because we dont want sage -t to compile giacpy.pyx
# we only use the test suite to test giacpy.so
sage -t --verbose --force-lib src/giacpy_sage.pyx

if [ $? -ne 0 ]; then
echo "There was a problem during the giacpy tests."
exit 1
fi

8 changes: 0 additions & 8 deletions build/pkgs/git/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,3 @@ export NO_APPLE_COMMON_CRYPTO=1
export GIT_TEST_HTTPD=false

cd src

echo "Testing git..."
$MAKE test
if [ $? -ne 0 ]; then
echo >&2 "Error running git's test suite."
exit 1
fi

5 changes: 0 additions & 5 deletions build/pkgs/givaro/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,3 @@ cd src/

echo "Building and running Givaro's test suite..."
$MAKE check
if [[ $? -ne 0 ]]; then
echo >&2 "Error while building or running Givaro's test suite."
exit 1
fi
echo "Givaro's test suite passed."
5 changes: 0 additions & 5 deletions build/pkgs/glpk/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,4 @@ export CPPFLAGS LDFLAGS

cd src/

echo "Running GLPK's testsuite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error testing GLPK."
exit 1
fi
7 changes: 0 additions & 7 deletions build/pkgs/gmp/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,4 @@ cd src
# We don't have to set up any environment variables here since the
# Makefiles already have them from 'configure'.

echo "Now building and running GMP's test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: The GMP test suite failed."
exit 1
fi

echo "The GMP test suite passed successfully."
5 changes: 0 additions & 5 deletions build/pkgs/gsl/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,4 @@ cd src
# See upstream bug at http://savannah.gnu.org/bugs/?42960
export MAKE="$MAKE -j1"

echo "Running GSL testsuite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: make check for GSL failed."
exit 1
fi
5 changes: 0 additions & 5 deletions build/pkgs/iconv/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
if [ -z "$SAGE_LOCAL" ]; then
echo "SAGE_LOCAL undefined ... exiting"
exit 1
fi

# Only test iconv on Solaris, HP-UX and Cygwin, as those are the only
# platforms on which the iconv shipped with Sage will be installed. On
# other platforms Sage uses the system's iconv.
Expand Down
6 changes: 0 additions & 6 deletions build/pkgs/iml/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@ else
export CFLAGS="-O2 -g $CFLAGS"
fi


echo "Testing the IML library"
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error testing IML."
exit 1
fi
10 changes: 1 addition & 9 deletions build/pkgs/latte_int/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
CUR=`pwd`

if [ "x$SAGE_DEBUG" = xyes ] ; then
CFLAGS="$CFLAGS -g -O0" # No optimisation, aids debugging.
else
Expand All @@ -8,11 +6,5 @@ fi

export CFLAGS

dirsr="$CUR"/src
echo "Testing in $dirsr"
cd "$dirsr"
cd src
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: tests failed"
exit 1
fi
5 changes: 0 additions & 5 deletions build/pkgs/libatomic_ops/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,3 @@ if [ "$SAGE64" = "yes" ]; then
fi

$MAKE check

if [ $? -ne 0 ]; then
echo "Error testing libatomic_ops."
exit 1
fi
6 changes: 0 additions & 6 deletions build/pkgs/linbox/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@ cd src/
# We don't have to set up any environment variables here since the
# Makefiles already have them from 'configure'. (Hopefully.)

echo "Building and running LinBox's test suite..."
# There's also a 'fullcheck' target mentioned in the online installation
# instructions, but it's apparently not in our current version (1.1.6).
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error: LinBox's test suite failed."
exit 1
fi
echo "LinBox's test suite apparently passed without errors."
5 changes: 0 additions & 5 deletions build/pkgs/lrcalc/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cd src

$MAKE check
if [ $? -ne 0 ]; then
echo "Error testing lrcalc."
exit 1
fi

5 changes: 0 additions & 5 deletions build/pkgs/lrslib/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
cd src

$MAKE check
if [ $? -ne 0 ]; then
echo "Error in testing lrs"
exit 1
fi

8 changes: 0 additions & 8 deletions build/pkgs/m4ri/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,4 @@ export CXXFLAGS

cd src

echo "Testing the M4RI library"

$MAKE check

if [ $? -ne 0 ]; then
echo "Error testing M4RI"
exit 1
fi

6 changes: 0 additions & 6 deletions build/pkgs/meataxe/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
cd src
$MAKE check

if [[ $? -ne 0 ]]; then
echo >&2 "Error running the SharedMeataxe test suite."
exit 1
fi

4 changes: 0 additions & 4 deletions build/pkgs/mpc/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
cd src

$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error checking MPC."
exit 1
fi
6 changes: 0 additions & 6 deletions build/pkgs/mpfi/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,2 @@
cd src
$MAKE check

if [ $? -ne 0 ]; then
echo "There was a problem during the MPFI tests."
exit 1
fi

8 changes: 0 additions & 8 deletions build/pkgs/mpfr/spkg-check.in
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,4 @@ unset RM

cd src

echo
echo "Now building and running MPFR's test suite..."
$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error building or running MPFR's test suite."
exit 1
fi
echo
echo "MPFR's test suite passed without errors."
4 changes: 0 additions & 4 deletions build/pkgs/mpfrcx/spkg-check.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
cd src

$MAKE check
if [ $? -ne 0 ]; then
echo >&2 "Error checking MPFRCX."
exit 1
fi
Loading

0 comments on commit 2533a67

Please sign in to comment.