Build tests are organized such that they can be run individually
from a cron-job or by hand.
+I) Instructions for installing a new test
-The standard setup is as follows:
+- Generate a config file ???.cfg in configurations
+- Run 'make' in this directory
+- Create a directory $DIR for the tests.
+- Copy $DEAL/contrib/config/config.guess and build-??? there.
+- Add a line to your crontab like
-1) Create a directory $DIR for the tests.
-2) Copy $DEAL/contrib/config/config.guess and build-template there.
-3) In $DIR, make modified copies of build-template
- for each of your tests. Make sure they are executable
-4) Add a line to your crontab like
-
-17 3 * * * (cd $DIR; build-XXX)
+17 3 * * * (cd $DIR; /usr/local/bin/bash build-??? > /dev/null)
where build-XXX is the modified version of build-template.
This would start the build test each night at 3:17.
+
+
+
+II) Instructions for writing configuration files
+
+These files are perl scripts, operating on 'template'.
+
+Refer to existing files for examples.
--- /dev/null
+my $id = '$Id$';
+s/\@Id\@/$id/;
+
+# Configuration options
+
+s'compiler=.*'compiler=gcc295';
+
+# Commands
+
+s'CXX=.*'CXX=g++';
+s'CC=.*'CC=gcc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE="make"';
+s'MAIL=.*'MAIL="ssh1 atlas mail"';
+
+# Path variables
+
+s'#export PATH'export PATH=/usr/local/gcc/gcc/bin:/usr/local/bin';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:deal@eris:/home/people/cvs/deal';
--- /dev/null
+my $id = '$Id$';
+s/\@Id\@/$id/;
+
+# Configuration options
+
+s'compiler=.*'compiler=gcc30';
+
+# Commands
+
+s'CXX=.*'CXX=g++';
+s'CC=.*'CC=gcc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE="make"';
+s'MAIL=.*'MAIL="ssh1 atlas mail"';
+
+# Path variables
+
+s'#export PATH'export PATH=/data/user/software/i686-pc-linux-gnu/gcc-3.0.4/bin:/usr/local/bin';
+s'#export LD_LIBRARY_PATH'export LD_LIBRARY_PATH=/data/user/software/i686-pc-linux-gnu/gcc-3.0.4/lib';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:deal@eris:/home/people/cvs/deal';
--- /dev/null
+my $id = '$Id$';
+s/\@Id\@/$id/;
+
+# Configuration options
+
+s'compiler=.*'compiler=gcc31';
+
+# Commands
+
+s'CXX=.*'CXX=g++';
+s'CC=.*'CC=gcc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE="make"';
+s'MAIL=.*'MAIL="ssh1 atlas mail"';
+
+# Path variables
+
+s'#export PATH'export PATH=/data/user/software/i686-pc-linux-gnu/gcc-3.1.0/bin:/usr/local/bin';
+s'#export LD_LIBRARY_PATH'export LD_LIBRARY_PATH=/data/user/software/i686-pc-linux-gnu/gcc-3.1.0/lib';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:deal@eris:/home/people/cvs/deal';
--- /dev/null
+my $id = '$Id$';
+s/\@Id\@/$id/;
+
+# Configuration options
+
+s'compiler=.*'compiler=icc60';
+
+# Commands
+
+s'CXX=.*'CXX=icc';
+s'CC=.*'CC=icc';
+s'CVS=.*'CVS=cvs';
+s'MAKE=.*'MAKE="make"';
+s'MAIL=.*'MAIL="ssh1 atlas mail"';
+
+# Path variables
+
+s'#export PATH'source /data/user/software/i686-pc-linux-gnu/intel-icc-6.0/compiler60/ia32/bin/iccvars.sh';
+
+# CVS account
+
+s'export CVSROOT=.*'export CVSROOT=:pserver:deal@eris:/home/people/cvs/deal';