Skip to content

Commit

Permalink
build/pkgs/sage_sws2rst/spkg-install: Do not call spkg-check from her…
Browse files Browse the repository at this point in the history
…e any more
  • Loading branch information
mkoeppe committed Oct 11, 2023
1 parent 3c2939a commit 3614d14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
11 changes: 10 additions & 1 deletion build/pkgs/sage_sws2rst/spkg-check
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
#! /bin/sh
cd src && ./check.sh
cd src
./check.sh
if [ $? -ne 0 ]; then
if [ "$SAGE_CHECK" = "warn" ]; then
error_msg "Warning: Failures testing package $PKG_NAME (ignored)" "make check"
else
error_msg "Error testing package $PKG_NAME" "make check"
exit 1
fi
fi
10 changes: 0 additions & 10 deletions build/pkgs/sage_sws2rst/spkg-install
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,3 @@ if [ "$SAGE_EDITABLE" = yes ]; then
else
sdh_pip_install .
fi
cd ..
# For type=script packages, spkg-check is not run
case "$SAGE_CHECK" in
yes)
./spkg-check
;;
warn)
./spkg-check || echo >&2 "Warning: Failures testing package sage_sws2rst (ignored)"
;;
esac

0 comments on commit 3614d14

Please sign in to comment.