提交 27ded8a9 authored 作者: slefrancois's avatar slefrancois

add exit 1 to subtest

上级 32c235a0
...@@ -5,9 +5,11 @@ ...@@ -5,9 +5,11 @@
source ~/.bashrc source ~/.bashrc
# Test flake8 # Test flake8
echo "===== Testing flake8" echo "\n===== Testing flake8"
bin/theano-nose theano/tests/test_flake8.py bin/theano-nose theano/tests/test_flake8.py || exit 1
# Test documentation # Test documentation
echo "===== Testing documentation" echo "\n===== Testing documentation build"
python doc/scripts/docgen.py --nopdf --check python doc/scripts/docgen.py --nopdf --check || exit 1
python doc/scripts/docgen.py --test --check echo "\n===== Testing documentation code snippets"
python doc/scripts/docgen.py --test --check || exit 1
...@@ -41,10 +41,6 @@ export PYTHONPATH=${PYTHONPATH}:$LIBDIR/lib/python ...@@ -41,10 +41,6 @@ export PYTHONPATH=${PYTHONPATH}:$LIBDIR/lib/python
# Then install # Then install
(cd libgpuarray && python setup.py install --home=$LIBDIR) (cd libgpuarray && python setup.py install --home=$LIBDIR)
# Test libgpuarray and pygpu
#(cd libgpuarray/build && DEVICE=$DEVICE make test)
#DEVICE=$DEVICE python -c "import pygpu;pygpu.test()"
# Testing theano (the gpuarray parts) # Testing theano (the gpuarray parts)
THEANO_GPUARRAY_TESTS="theano/gpuarray/tests theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_serial theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray" THEANO_GPUARRAY_TESTS="theano/gpuarray/tests theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_serial theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray"
FLAGS="init_gpu_device=$DEVICE,gpuarray.preallocate=1000,mode=FAST_RUN" FLAGS="init_gpu_device=$DEVICE,gpuarray.preallocate=1000,mode=FAST_RUN"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论