This repository was archived by the owner on Feb 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 11 files changed +22
-15
lines changed
Expand file tree Collapse file tree 11 files changed +22
-15
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,11 @@ sdh_make() {
184184}
185185
186186
187+ sdh_make_check() {
188+ echo "Checking $PKG_NAME"
189+ ${MAKE:-make} check "$@" || sdh_die "Failures checking $PKG_NAME"
190+ }
191+
187192sdh_make_install() {
188193 echo "Installing $PKG_NAME"
189194 if [ -n "$SAGE_DESTDIR" ]; then
Original file line number Diff line number Diff line change 11cd src/_build
2- sdh_make check
2+ sdh_make_check
Original file line number Diff line number Diff line change 11cd src
2- sdh_make check
2+ sdh_make_check
Original file line number Diff line number Diff line change 11cd src/
2- sdh_make check
2+ sdh_make_check
Original file line number Diff line number Diff line change 55###############################################################################
66
77cd src
8- sdh_make check
8+ sdh_make_check
Original file line number Diff line number Diff line change 11cd src
2- sdh_make check
2+ # Do not use sdh_make or sdh_make_check here because we are doing our own error
3+ # handling below
4+ ${MAKE:-make} check
35
46if [ $? -ne 0 ]; then
5- cat tests/test-suite.log
6- exit 1
7+ cat tests/test-suite.log
8+ exit 1
79fi
Original file line number Diff line number Diff line change 11cd src
2- sdh_make check
2+ sdh_make_check
Original file line number Diff line number Diff line change @@ -17,18 +17,18 @@ if [ "x$SAGE_FAT_BINARY" = "xyes" ]; then
1717 OPENBLAS_CONFIGURE="$OPENBLAS_CONFIGURE TARGET=PRESCOTT"
1818fi
1919
20- sdh_make tests $OPENBLAS_CONFIGURE
20+ ${MAKE:-make} tests $OPENBLAS_CONFIGURE
2121if [ $? -ne 0 ]; then
2222 # First make sure we already didn't set a target
2323 if [[ $OPENBLAS_CONFIGURE == *"TARGET"* ]]; then
24- sdh_die "Error while running the OpenBlas testsuite ... exiting"
24+ sdh_die "Error while running the OpenBLAS testsuite ... exiting"
2525 else
2626 # The recommended TARGET is ATOM if CPU fails
2727 # See https://github.com/xianyi/OpenBLAS/issues/1204
2828 OPENBLAS_CONFIGURE="$OPENBLAS_CONFIGURE TARGET=ATOM"
2929 echo "Error while testing the OpenBLAS testsuite"
30- echo "Retrying the OpenBAS testsuit with TARGET=ATOM"
31- sdh_make tests $OPENBLAS_CONFIGURE
30+ echo "Retrying the OpenBLAS testsuite with TARGET=ATOM"
31+ ${MAKE:-make} tests $OPENBLAS_CONFIGURE
3232 if [ $? -ne 0 ]; then
3333 sdh_die "Error while running the OpenBLAS testsuite ... exiting"
3434 fi
Original file line number Diff line number Diff line change 11cd src
2- sdh_make check
2+ sdh_make_check
Original file line number Diff line number Diff line change 11cd src/
2- sdh_make test
2+ ${MAKE:-make} test || sdh_die "Failures checking polymake"
You can’t perform that action at this time.
0 commit comments