# HG changeset patch # User Frederic Bastien # Date 1363035414 14400 # Node ID 9737834dcb0f2cdd3731f7e31ab59c25160aa8f5 # Parent dee27604576861a2f6a17e007802a50262b1301a Add the total test time in the buildbot. diff -r dee276045768 -r 9737834dcb0f pylearn/misc/do_nightly_build --- a/pylearn/misc/do_nightly_build Fri Nov 09 17:06:30 2012 -0500 +++ b/pylearn/misc/do_nightly_build Mon Mar 11 16:56:54 2013 -0400 @@ -1,6 +1,7 @@ #!/bin/bash #we set the compiledir to the /Tmp dir to make the test faster by bypassing the nfs network. date +START=`date +%s` ROOT_CWD=/Tmp/nightly_build COMPILEDIR=/Tmp/lisa_theano_compile_dir_pylearn NOSETESTS=${ROOT_CWD}/Theano/bin/theano-nose @@ -26,4 +27,8 @@ 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,DebugMode.check_preallocated_output= ${NOSETESTS} Pylearn + +echo +END=`date +%s` +python -c "print 'Total test time: %dm %ds'%((${END} - ${START})/60, (${END} - ${START})%60)" date