test-bugzilla-files/commands.sh | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+)
New commits: commit c68380e5884adf88c4d49c58479d2f73b9bc1cfd Author: Markus Mohrhard <markus.mohrh...@googlemail.com> Date: Tue Jul 22 18:33:05 2014 -0400 add command script for crash testing It contains all the steps necessary to run a crash testing session and upload the results to gimli. diff --git a/test-bugzilla-files/commands.sh b/test-bugzilla-files/commands.sh new file mode 100755 index 0000000..5ae544d --- /dev/null +++ b/test-bugzilla-files/commands.sh @@ -0,0 +1,39 @@ +cd /srv/crashtestdata/ +rm nohup.put +rm tmpdir/* -r +rm current/* -r +rm control/* -r +cd ~/build/ +make clean +cd ~/source/dev-tools/ +git pull -r +cd ~/source/libo-core/ +git pull -r +SHA=`git rev-parse HEAD` +echo $SHA +mkdir /srv/crashtestdata/logs/$SHA +cd ~/build/ +make +cd /srv/crashtestdata/files/ +python3 new-control.py +cd /srv/crashtestdata/control/ +zip -r control.zip */* +mv control.zip /srv/crashtestdata/logs/$SHA/. +cd /srv/crashtestdata/current/srv/crashtestdata/files/ +zip -r validation.zip */*.log +mv validation.zip /srv/crashtestdata/logs/$SHA/. +cd /srv/crashtestdata/logs/$SHA +unzip control.zip +unzip validation.zip -d validation +rm *.zip +cp ~/source/dev-tools/test-bugzilla-files/analyze-logs.py . +cp ../*.csv . +python3 analyze-logs.py +cp *.csv ../. +cd .. +zip -r current.zip $SHA/* +scp current.zip upl...@gimli.documentfoundation.org:/srv/www/dev-builds.libreoffice.org/crashtest/. +ssh upl...@gimli.documentfoundation.org 'bash -s' << 'ENDSSH' +cd /srv/www/dev-builds.libreoffice.org/crashtest/ +unzip current.zip +ENDSSH _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits