Skip to content

Commit

Permalink
mac pr remove time nosetests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Jul 26, 2017
1 parent 49b858f commit 21f7e07
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .jenkins_pr_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export CPLUS_INCLUDE_PATH=/usr/local/cuda/include:${CPLUS_INCLUDE_PATH}
git rev-parse HEAD

# Build libgpuarray and run C tests
rm -rf build
rm -rf build lib
mkdir build
(cd build && cmake .. -DCMAKE_BUILD_TYPE=${GPUARRAY_CONFIG} && make)

Expand All @@ -41,15 +41,15 @@ export DYLD_LIBRARY_PATH=`pwd`/lib:${DYLD_LIBRARY_PATH}
export CPLUS_INCLUDE_PATH=`pwd`/src:${CPLUS_INCLUDE_PATH}

# Build the pygpu modules
python setup.py build_ext --inplace -L`pwd`/lib -I`pwd`/src
python setup.py build_ext --inplace -I`pwd`/src -L`pwd`/lib

# Test it
test=pygpu_pr_mac
for dev in ${DEVICES_CUDA}; do
echo "Testing pygpu for DEVICE=${dev}"
DEVICE=${dev} time nosetests --with-xunit --xunit-file=${test}${dev}tests.xml pygpu/tests
DEVICE=${dev} nosetests --with-xunit --xunit-file=${test}_${dev}tests.xml pygpu/tests
done
for dev in ${DEVICES_OPENCL}; do
echo "Testing pygpu for DEVICE=${dev}"
DEVICE=${dev} time nosetests --with-xunit --xunit-file=${test}${dev}tests.xml pygpu/tests -e test_blas.py
DEVICE=${dev} nosetests --with-xunit --xunit-file=${test}_${dev}tests.xml pygpu/tests -e test_blas.py
done

0 comments on commit 21f7e07

Please sign in to comment.