Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit e6c4002

Browse files
committed
Reduce verbosity of openblas, no full tests on OSX
1 parent 0c7e574 commit e6c4002

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

config.sh

+4-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function pre_build {
77
if [ -n "$IS_OSX" ]; then
88
sudo installer -pkg archives/gfortran-4.2.3.pkg -target /
99
else
10-
build_openblas
10+
build_openblas >& /dev/null
1111
# Force scipy to use OpenBLAS regardless of what numpy uses
1212
cat << EOF > $HOME/site.cfg
1313
[openblas]
@@ -19,11 +19,13 @@ EOF
1919

2020
function run_tests {
2121
# Runs tests on installed distribution from an empty directory
22-
test_cmd="import sys; import scipy; sys.exit(not scipy.test('full').wasSuccessful())"
2322
if [ -n "$IS_OSX" ]; then # Test both architectures on OSX
23+
# Can't afford full tests when running both test rigs in same job
24+
test_cmd="import sys; import scipy; sys.exit(not scipy.test().wasSuccessful())"
2425
arch -i386 python -c "$test_cmd"
2526
arch -x86_64 python -c "$test_cmd"
2627
else # Not OSX
28+
test_cmd="import sys; import scipy; sys.exit(not scipy.test('full').wasSuccessful())"
2729
python -c "$test_cmd"
2830
fi
2931
# Show BLAS / LAPACK used

0 commit comments

Comments
 (0)