Add description of new vagrant-box to README. Additional script to automatically run tests after building

This commit is contained in:
Bernhard F.W. Gschaider 2014-05-31 23:36:53 +02:00
parent 01d9812483
commit aaaea3559d
4 changed files with 21 additions and 3 deletions

View file

@ -48,8 +48,9 @@
machine prepended with =vagrant.= machine prepended with =vagrant.=
* Virtual machines * Virtual machines
Currently existing virtual machines are Currently existing virtual machines are
- precise :: Latest LTS Ubuntu. Currently the default machine to use - trusty :: Latest LTS 14.04 Ubuntu. Currently the default machine to use
- lucid :: Previous LTS Ubuntu. Currently problems - prescise :: Previous LTS Ubuntu.
- lucid :: Old LTS Ubuntu. Currently problems
with automatic setting up (something with the with automatic setting up (something with the
=postfix=-package) =postfix=-package)
- maverick :: Tries to fix the problems with the - maverick :: Tries to fix the problems with the
@ -75,6 +76,8 @@
the ThirdParty-packages in one go (no paraview and QT). If this the ThirdParty-packages in one go (no paraview and QT). If this
works the box is considered operational. The script leaves a works the box is considered operational. The script leaves a
log file =bootstrapFoam-log= in the home directory log file =bootstrapFoam-log= in the home directory
- bootstrapAndTest.sh :: Calls =bootstrapFoam.sh= and then runs the
=testHarness= in the =foam=-installation
* Provisioning scripts * Provisioning scripts
Every "family" of machines has a specific script that makes sure Every "family" of machines has a specific script that makes sure
that the software packages necessary to compile =Foam= are installed that the software packages necessary to compile =Foam= are installed

View file

@ -4,7 +4,7 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.synced_folder "..", "/FOAM-sources" config.vm.synced_folder "..", "/FOAM-sources"
config.vm.hostname="vagrant."+ (ENV["HOSTNAME"] || `hostname`.strip) config.vm.hostname="vagrant_"+ (ENV["HOSTNAME"] || `hostname`.strip)
nrCPU=1 nrCPU=1
if ENV["WM_VAGRANT_CPUS"] if ENV["WM_VAGRANT_CPUS"]

View file

@ -0,0 +1,12 @@
#! /usr/bin/env bash
/home/vagrant/bootstrapFoam.sh
cd foam/foam-extend-3.0
source etc/bashrc
cd testHarness/foam-extend/3.0/runDir
./Allclean
./Allrun_Experimental

View file

@ -23,3 +23,6 @@ source etc/bashrc
./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG ./Allwmake 2>&1 | tee --append $BOOTSTRAPLOG
# compile swak4Foam
cd $WM_THIRD_PARTY_DIR
./AllMake.stage5 2>&1 | tee --append $BOOTSTRAPLOG