提交 96ad0a70 authored 作者: slefrancois's avatar slefrancois

add xunit to jenkins nosetests

上级 e3949bf6
...@@ -12,6 +12,6 @@ echo "===== Testing theano core" ...@@ -12,6 +12,6 @@ echo "===== Testing theano core"
# Test theano core # Test theano core
PARTS="theano -e cuda -e gpuarray" PARTS="theano -e cuda -e gpuarray"
THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10" THEANO_PARAM="${PARTS} --with-timer --timer-top-n 10 --with-xunit"
FLAGS="mode=FAST_RUN,floatX=float32" FLAGS="mode=FAST_RUN,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM} THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
...@@ -30,7 +30,7 @@ THEANO_CUDA_TESTS="theano/sandbox/cuda/tests \ ...@@ -30,7 +30,7 @@ THEANO_CUDA_TESTS="theano/sandbox/cuda/tests \
theano/sandbox/tests/test_rng_mrg.py:test_GPU_nstreams_limit \ theano/sandbox/tests/test_rng_mrg.py:test_GPU_nstreams_limit \
theano/sandbox/tests/test_rng_mrg.py:test_overflow_gpu_old_backend \ theano/sandbox/tests/test_rng_mrg.py:test_overflow_gpu_old_backend \
theano/scan_module/tests/test_scan.py:T_Scan_Cuda" theano/scan_module/tests/test_scan.py:T_Scan_Cuda"
THEANO_PARAM="${THEANO_CUDA_TESTS} --with-timer --timer-top-n 10" THEANO_PARAM="${THEANO_CUDA_TESTS} --with-timer --timer-top-n 10 --with-xunit"
FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32" FLAGS="mode=FAST_RUN,init_gpu_device=gpu,floatX=float32"
THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM} THEANO_FLAGS=${FLAGS} bin/theano-nose ${THEANO_PARAM}
...@@ -76,4 +76,4 @@ THEANO_GPUARRAY_TESTS="theano/gpuarray/tests \ ...@@ -76,4 +76,4 @@ THEANO_GPUARRAY_TESTS="theano/gpuarray/tests \
theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel \ theano/sandbox/tests/test_rng_mrg.py:test_consistency_GPUA_parallel \
theano/scan_module/tests/test_scan.py:T_Scan_Gpuarray" 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"
THEANO_FLAGS=${FLAGS} time nosetests -v ${THEANO_GPUARRAY_TESTS} THEANO_FLAGS=${FLAGS} time nosetests -v --with-xunit ${THEANO_GPUARRAY_TESTS}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论