#! /bin/sh
+# Authors :
+# Roland Mas
+# Olivier BERGER <olivier.berger@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
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
+
#! /bin/sh
+
+# Authors :
+# Roland Mas
+# Olivier BERGER <olivier.berger@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
#! /bin/sh
+# Authors :
+# Roland Mas
+# Olivier BERGER <olivier.berger@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
#! /bin/sh
+# Authors :
+# Roland Mas
+# Olivier BERGER <olivier.berger@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