# HG changeset patch # User Frederic Bastien # Date 1299526544 18000 # Node ID 73851579bc23d014e035430975f718426cb981ce # Parent 08beb6f2880986b89ad25caa1abc20dac75ab512 added buildbot script diff -r 08beb6f28809 -r 73851579bc23 pylearn/misc/do_nightly_build --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pylearn/misc/do_nightly_build Mon Mar 07 14:35:44 2011 -0500 @@ -0,0 +1,25 @@ +#!/bin/bash +#we set the compiledir to the /Tmp dir to make the test faster by bypassing the nfs network. +date +ROOT_CWD=/Tmp/nightly_build + +source /u/lisa/local/export.soft.lisa.master/.local.bashrc + +FLAGS=warn.argmax_pushdown_bug=False,warn.gpusum_01_011_0111_bug=False,warn.sum_sum_bug=False,warn.sum_div_dimshuffle_bug=False,compiledir=/Tmp/lisa_theano_compile_dir_pylearn,seed=0 +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib64/python2.5/config/ +export LIBRARY_PATH=$LIBRARY_PATH:/usr/lib64/python2.5/config/ +export PYTHONPATH=${ROOT_CWD}:$PYTHONPATH + +cd ${ROOT_CWD}/ +echo "executing nosetests with mode=FAST_COMPILE" +#THEANO_FLAGS=${FLAGS},mode=FAST_COMPILE /usr/bin/nosetests Pylearn +echo "executing nosetests with mode=FAST_RUN" +THEANO_FLAGS=${FLAGS},mode=FAST_RUN /usr/bin/nosetests --with-coverage --cover-package=theano --cover-package=pylearn Pylearn +echo "executing nosetests with mode=FAST_RUN,floatX=float32" +THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 /usr/bin/nosetests Pylearn + +#we change the seed and record it everyday to test different combination. We record it to be able to reproduce bug caused by different seed. We don't want multiple test in DEBUG_MODE each day as this take too long. +seed=$RANDOM +echo "executing nosetests with mode=DEBUG_MODE with seed of the day $seed" +THEANO_FLAGS=${FLAGS},unittests.rseed=$seed,mode=DEBUG_MODE,DebugMode.check_strides=0,DebugMode.patience=3 /usr/bin/nosetests Pylearn +