[Fusionforge-commits] FusionForge branch Branch_5_3 updated. c06da09fd847a0ec25322b8cdba5dfd4bb78c02d

Roland Mas lolando at fusionforge.org
Tue Jan 28 09:32:08 CET 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  c06da09fd847a0ec25322b8cdba5dfd4bb78c02d (commit)
       via  149cb78e24e889a4996f947a9eede5d71638ae5b (commit)
       via  315acde0eed53a1e417da17a55b4ef9c4845dd1a (commit)
       via  7d437621019b9a07ffe93e42c4fee30b2169cc3e (commit)
       via  0550177696eb5d6cfeb0d9c9f77782f75aef18aa (commit)
      from  208e3c182fd81d50edaa89de1bfab052e29bac2b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c06da09fd847a0ec25322b8cdba5dfd4bb78c02d
Merge: 208e3c1 149cb78
Author: Roland Mas <lolando at debian.org>
Date:   Tue Jan 28 09:31:45 2014 +0100

    Merged from 5.2: Clean up files after a build

diff --cc tests/scripts/fusionforge-build-and-test-deb.sh
index 402302c,17b84b0..c0bbbe3
--- a/tests/scripts/fusionforge-build-and-test-deb.sh
+++ b/tests/scripts/fusionforge-build-and-test-deb.sh
@@@ -157,9 -137,45 +157,12 @@@ EO
  # Run tests
  retcode=0
  echo "Run phpunit test on $HOST in $FORGE_HOME"
 -
 -ssh root@$HOST "apt-get -y install xfonts-base vnc4server ; mkdir -p /root/.vnc"
 -ssh root@$HOST "cat > /root/.vnc/xstartup ; chmod +x /root/.vnc/xstartup" <<EOF
 -#! /bin/bash
 -# Setup ssh key and parameters
 -cd
 -mkdir -p .ssh
 -if ! [ -e .ssh/id_rsa.pub ] ; then
 -    ssh-keygen -f .ssh/id_rsa -N ''
 -    cat .ssh/id_rsa.pub >> .ssh/authorized_keys
 -fi
 -if ! grep -q StrictHostKeyChecking .ssh/config ; then
 -    echo StrictHostKeyChecking no >> .ssh/config
 -fi
 -
 -[ -e /var/lib/gforge/.bazaar/bazaar.conf ] && sed -i -e s,https://,http://,g /var/lib/gforge/.bazaar/bazaar.conf
 -
 -: > /root/phpunit.exitcode
 -$FORGE_HOME/tests/scripts/phpunit.sh DEBDebian70Tests.php &> /var/log/phpunit.log &
 -echo \$! > /root/phpunit.pid
 -wait %1
 -echo \$? > /root/phpunit.exitcode
 -EOF
 -ssh root@$HOST vncpasswd <<EOF
 -password
 -password
 -EOF
 -
 -ssh root@$HOST "vncserver :1"
 -sleep 5
 -pid=$(ssh root@$HOST cat /root/phpunit.pid)
 -ssh root@$HOST "tail -f /var/log/phpunit.log --pid=$pid"
 -sleep 5
 -retcode=$(ssh root@$HOST cat /root/phpunit.exitcode)
 +ssh root@$HOST "$FORGE_HOME/tests/func/vncxstartsuite.sh $FILTER"
 +retcode=$?
  rsync -av root@$HOST:/var/log/ $WORKSPACE/reports/
 -ssh root@$HOST "vncserver -kill :1" || retcode=$?
  
+ cd $CHECKOUTPATH
+ for i in *_source.changes ; do echo $i ; echo $(basename $i _sources.changes)_*.build ; cat $i | sed -e 0,/^Checksums/d -e /^Checksums/,\$d | awk '{print $3}' ; done | xargs rm
+ 
  stop_vm_if_not_keeped -t $VM $@
  exit $retcode

-----------------------------------------------------------------------

Summary of changes:
 tests/scripts/fusionforge-build-and-test-deb.sh |    3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list