Skip to content

Commit 500c214

Browse files
authored
Merge pull request lisa-lab#173 from slefrancois/testsuite_names
Add testsuites names to buildbot
2 parents 5e2b24f + 4f251cd commit 500c214

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.jenkins/jenkins_buildbot_dlt.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ date
99
COMPILEDIR=$WORKSPACE/compile/lisa_theano_compile_dir_deeplearning
1010
NOSETESTS=${BUILDBOT_DIR}/Theano/bin/theano-nose
1111
XUNIT="--with-xunit --xunit-file="
12+
# name test suites
13+
SUITE="--xunit-prefix-with-testsuite-name --xunit-testsuite-name="
1214

1315
FLAGS=warn.ignore_bug_before=0.5,compiledir=${COMPILEDIR}
1416
export PYTHONPATH=${BUILDBOT_DIR}/Theano:${BUILDBOT_DIR}/Pylearn:$PYTHONPATH
@@ -29,8 +31,10 @@ cd ${WORKSPACE}/code
2931
echo "git version:" `git rev-parse HEAD`
3032

3133
echo "executing nosetests speed with mode=FAST_RUN"
32-
FILE=${BUILDBOT_DIR}/dlt_tests.xml
33-
THEANO_FLAGS=${FLAGS},mode=FAST_RUN ${NOSETESTS} ${XUNIT}${FILE} test.py:speed
34+
NAME=dlt_speed
35+
FILE=${BUILDBOT_DIR}/${NAME}_tests.xml
36+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN ${NOSETESTS} ${XUNIT}${FILE} ${SUITE}${NAME} test.py:speed
3437
echo "executing nosetests with mode=FAST_RUN,floatX=float32"
35-
FILE=${BUILDBOT_DIR}/dlt_float32_tests.xml
36-
THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 ${NOSETESTS} ${XUNIT}${FILE}
38+
NAME=dlt_float32
39+
FILE=${BUILDBOT_DIR}/${NAME}_tests.xml
40+
THEANO_FLAGS=${FLAGS},mode=FAST_RUN,floatX=float32 ${NOSETESTS} ${XUNIT}${FILE} ${SUITE}${NAME}

0 commit comments

Comments
 (0)