[Fusionforge-commits] r12203 - branches/Branch_5_1/tools/VM-scripts

Olivier Berger olberger at libremir.placard.fr.eu.org
Wed Feb 9 16:51:18 CET 2011


Author: olberger
Date: 2011-02-09 16:51:18 +0100 (Wed, 09 Feb 2011)
New Revision: 12203

Modified:
   branches/Branch_5_1/tools/VM-scripts/build.sh
   branches/Branch_5_1/tools/VM-scripts/configure-scripts.sh
   branches/Branch_5_1/tools/VM-scripts/install.sh
   branches/Branch_5_1/tools/VM-scripts/start-selenium.sh
   branches/Branch_5_1/tools/VM-scripts/update.sh
Log:
Updates and more testing.

Should be ready for production, more or less ;)


Modified: branches/Branch_5_1/tools/VM-scripts/build.sh
===================================================================
--- branches/Branch_5_1/tools/VM-scripts/build.sh	2011-02-09 15:44:02 UTC (rev 12202)
+++ branches/Branch_5_1/tools/VM-scripts/build.sh	2011-02-09 15:51:18 UTC (rev 12203)
@@ -1,5 +1,14 @@
 #! /bin/sh
 
+# Authors :
+#  Roland Mas
+#  Olivier BERGER <olivier.berger at it-sudparis.eu>
+
+# This script will build the Debian packages to be tested
+
+# Prerequisite : running 'update.sh' and its prerequisites
+
+
 # removed as the grep test below would break otherwise
 #set -e
 

Modified: branches/Branch_5_1/tools/VM-scripts/configure-scripts.sh
===================================================================
--- branches/Branch_5_1/tools/VM-scripts/configure-scripts.sh	2011-02-09 15:44:02 UTC (rev 12202)
+++ branches/Branch_5_1/tools/VM-scripts/configure-scripts.sh	2011-02-09 15:51:18 UTC (rev 12203)
@@ -63,3 +63,12 @@
 echo "Creating a link from 'fusionforge-$BRANCH/tools/VM-scripts/' to './scripts'."
 ln -s "fusionforge-$BRANCH/tools/VM-scripts/" scripts
 
+if [ -L scripts/reload-db.sh ]; then
+    oldlink=$(ls -ld scripts/reload-db.sh)
+    echo "Removing old scripts/reload-db.sh link ($oldlink)"
+    rm scripts/reload-db.sh
+fi
+
+echo "Creating a link from 'fusionforge-$BRANCH/tests/func/db_reload.sh' to 'scripts/reload-db.sh'."
+ln -s "../../tests/func/db_reload.sh" scripts/reload-db.sh
+

Modified: branches/Branch_5_1/tools/VM-scripts/install.sh
===================================================================
--- branches/Branch_5_1/tools/VM-scripts/install.sh	2011-02-09 15:44:02 UTC (rev 12202)
+++ branches/Branch_5_1/tools/VM-scripts/install.sh	2011-02-09 15:51:18 UTC (rev 12203)
@@ -1,5 +1,14 @@
 #! /bin/sh
 
+
+# Authors :
+#  Roland Mas
+#  Olivier BERGER <olivier.berger at it-sudparis.eu>
+
+# This script will install the Debian packages to be tested which have been build inside the VM
+
+# Prerequisite : running 'build.sh' and its prerequisites
+
 set -e
 set -x
 

Modified: branches/Branch_5_1/tools/VM-scripts/start-selenium.sh
===================================================================
--- branches/Branch_5_1/tools/VM-scripts/start-selenium.sh	2011-02-09 15:44:02 UTC (rev 12202)
+++ branches/Branch_5_1/tools/VM-scripts/start-selenium.sh	2011-02-09 15:51:18 UTC (rev 12203)
@@ -1,4 +1,21 @@
 #! /bin/sh
 
+# Authors :
+#  Roland Mas
+#  Olivier BERGER <olivier.berger at it-sudparis.eu>
+
+# This script will start the Selenium server which will execute the tests on the installed forge
+
+# Prerequisite : having run 'install.sh' and its prerequisites
+
+# Note that there may be problems with the firefox profile and SSL
+# certificate.  Refer to
+# https://fusionforge.org/plugins/mediawiki/wiki/fusionforge/index.php/Virtual_machine_development_environment
+# to find instructions to workaround these.
+
+echo
+echo "You may wish to install a graphical environment (gnome, kde, lxde, ...) to run the selenium server inside the VM's display."
+echo
+
 cd /root/fusionforge/3rd-party/selenium
 make

Modified: branches/Branch_5_1/tools/VM-scripts/update.sh
===================================================================
--- branches/Branch_5_1/tools/VM-scripts/update.sh	2011-02-09 15:44:02 UTC (rev 12202)
+++ branches/Branch_5_1/tools/VM-scripts/update.sh	2011-02-09 15:51:18 UTC (rev 12203)
@@ -1,15 +1,26 @@
 #! /bin/sh
 
+# Authors :
+#  Roland Mas
+#  Olivier BERGER <olivier.berger at it-sudparis.eu>
+
+# This script will update the system and the checked-out branch to the
+# latest state to be tested.
+
+# Prerequisite : running 'sh scripts/configure-scripts.sh' once
+
+# First, make sure the Debian distro is up-to-date
 aptitude update
 aptitude dist-upgrade
 
 # Make sure to add tools needed for build.sh
-aptitude bzr install mini-dinstall devscripts dpatch sharutils docbook-to-man
+aptitude install bzr mini-dinstall devscripts dpatch sharutils docbook-to-man
 
 set -e
 
 cd /root/fusionforge
 
+# If using bzr, or git, update accordingly
 if [ -d .bzr/ ] ; then
     bzr update
 else




More information about the Fusionforge-commits mailing list