test-bugzilla-files/commands.sh |   24 ++----------------------
 test-bugzilla-files/zip.sh      |   24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 22 deletions(-)

New commits:
commit 62bfa4617c8cb5a14738926aa5e2166fd290a68b
Author: Markus Mohrhard <markus.mohrh...@googlemail.com>
Date:   Mon Aug 4 01:17:21 2014 +0200

    split the script in two parts
    
    The first part does the building and the crash test run whereas the
    second one does the uploading to the server and updating the csv files.

diff --git a/test-bugzilla-files/commands.sh b/test-bugzilla-files/commands.sh
index 5ae544d..94a883a 100755
--- a/test-bugzilla-files/commands.sh
+++ b/test-bugzilla-files/commands.sh
@@ -1,5 +1,4 @@
 cd /srv/crashtestdata/
-rm nohup.put
 rm tmpdir/* -r
 rm current/* -r
 rm control/* -r
@@ -16,24 +15,5 @@ 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
+cd /srv/crashtestdata/
+./zip.sh
diff --git a/test-bugzilla-files/zip.sh b/test-bugzilla-files/zip.sh
new file mode 100755
index 0000000..681bb89
--- /dev/null
+++ b/test-bugzilla-files/zip.sh
@@ -0,0 +1,24 @@
+cd ~/source/libo-core/
+SHA=`git rev-parse HEAD`
+echo $SHA
+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

Reply via email to