From af6908d764217005d5942f2d244004a2959d2707 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Wed, 7 Jan 2009 04:14:42 +0000 Subject: [PATCH] Comment-only changes. trunk/nightly/bin/nightly trunk/nightly/README.txt Greatly improved the description of how to use this script; a user now has a fighting chance of using the script without actually reading it. trunk/nightly/conf/nemesis.sendmail trunk/nightly/conf/georgia-tech-cellbuzz.sendmail Clarified the usage comments. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8913 --- nightly/README.txt | 21 +++++++++++++++++++-- nightly/bin/nightly | 5 +---- nightly/conf/georgia-tech-cellbuzz.sendmail | 2 +- nightly/conf/nemesis.sendmail | 4 ++-- 4 files changed, 23 insertions(+), 9 deletions(-) diff --git a/nightly/README.txt b/nightly/README.txt index a00dc11e58..76ab6ca308 100644 --- a/nightly/README.txt +++ b/nightly/README.txt @@ -9,7 +9,24 @@ existing tree. To use, choose a tag, probably a machine name, and run - bin/nightly /path/to/valgrind/nightly tag + bin/nightly /path/to/valgrind/nightly -and supply conf/tag.conf and conf/tag.sendmail. +and supply the following two config files: +- conf/.conf: this is sourced by the 'nightly' script, and can define + any or all of the following environment variables: + + ABT_DETAILS: describes the machine in more detail, eg. the OS. The default + is empty. + ABT_CONFIGURE_OPTIONS: gives extra configure options. The default is empty. + ABT_RUN_REGTEST: if provided, it must be the name of an argumentless shell + function (also specified in the tag.conf file) it's an argumentless bash + function that will be used to run the tests. If not specified, the usual + "perl tests/vg_regtest --all" will be used. + ABT_JOBS: allows parallel builds -- it's passed as the argument to "make + -j" when building Valgrind and the tests. The default is 1. + +- conf/.sendmail: this should be a script that sends an email to the + desired recipient (eg. the valgrind-developers list). It must take two + command line arguments. The first is the email subject line, the second + is the email's body. diff --git a/nightly/bin/nightly b/nightly/bin/nightly index 0e43088531..1007994362 100755 --- a/nightly/bin/nightly +++ b/nightly/bin/nightly @@ -2,10 +2,7 @@ #---------------------------------------------------------------------------- # Automated build and test for Valgrind. Compares Valgrind from 24 hours -# ago with the current one. -# -# Use: two args, first is path to top of ValgrindABT tree -# second is name of machine +# ago with the current one. See the README.txt on how to run it. #---------------------------------------------------------------------------- #---------------------------------------------------------------------------- diff --git a/nightly/conf/georgia-tech-cellbuzz.sendmail b/nightly/conf/georgia-tech-cellbuzz.sendmail index a65f1e1563..6463484c53 100755 --- a/nightly/conf/georgia-tech-cellbuzz.sendmail +++ b/nightly/conf/georgia-tech-cellbuzz.sendmail @@ -1,4 +1,4 @@ -#use: subject file-to-mail +# use: georgia-tech-cellbuzz.sendmail subject file-to-mail /bin/mailx -s "$1" valgrind-developers@lists.sourceforge.net -- -R bart.vanassche@gmail.com -r bart.vanassche@gmail.com < $2 diff --git a/nightly/conf/nemesis.sendmail b/nightly/conf/nemesis.sendmail index ca6af71e3c..717bbe04b9 100755 --- a/nightly/conf/nemesis.sendmail +++ b/nightly/conf/nemesis.sendmail @@ -1,5 +1,5 @@ -#use: subject file-to-mail +# use: nemesis.sendmail subject file-to-mail /usr/bin/mail -s "$1" -R jseward@acm.org -r jseward@acm.org valgrind-developers@lists.sourceforge.net < $2 - \ No newline at end of file + -- 2.47.3