#!/bin/sh
export THEANO_FLAGS=base_compiledir='$AUTOPKGTEST_TMP/theanocache'

#A random-ish selection of upstream's tests, as the whole thing takes hours
$TEST_PYTHON /usr/share/$TEST_PYTHON-theano/theano-nose -v theano/tensor/tests/test_basic.py:T_add theano/tensor/tests/test_subtensor.py:T_subtensor.test_noncontiguous_idx theano/tensor/tests/test_opt.py:test_log1p theano/tensor/tests/test_blas.py:TestSgemv.test_a_strides theano/tensor/tests/test_nlinalg.py:test_SVD.test_svd theano/tensor/tests/test_shared_randomstreams.py:T_SharedRandomStreams.test_binomial_vector theano/tensor/tests/test_mpi.py theano/tensor/nnet/tests/test_sigm.py:UltraFastSigmoidTester theano/tensor/signal/tests/test_pool.py:TestDownsampleFactorMax.test_max_pool_2d_2D theano/sparse/tests/test_opt.py:test_sd_csc theano/scan_module/tests/test_scan.py:T_Scan.test_scan_merge_nodes theano/scalar/tests/test_basic.py:test_logical theano/gof/tests/test_opt.py:TestPatternOptimizer.test_ambiguous theano/d3viz/tests/test_d3viz.py:TestD3Viz.test_mlp_profiled theano/compile/tests/test_pfunc.py:Test_pfunc.test_param_strict theano/typed_list/tests/test_basic.py:test_remove theano/tests/test_printing.py:test_debugprint theano/tests/test_gradient.py:test_dxdx
