3 # extract from testmaster's convenience tools
4 function today () { date +%Y.%m.%d; }
6 pushd ~/manage >& /dev/null; git pull ; ./LocalSubstrate.inria.py "$@" ; popd >& /dev/null
9 subject="Tests summary for $(today)"
11 buildhost="build.onelab.eu"
14 function builds () { manage -tv | grep $(today) | cut -d ' ' -f 3 ; }
15 function add_links () {
16 for build in $(builds); do
17 echo $build | grep -q lxc && bdistro=lxc || bdistro=$distro
18 echo "http://$buildhost/$bdistro/$build/testlogs"
23 echo "Subject: ${subject}" ; \
26 echo "-------------------- Test results for $(today)" ; \
27 manage -tv | grep $(today) ; \
28 echo "-------------------- Shortcuts" ; \