summaryrefslogtreecommitdiff
path: root/nightly
diff options
context:
space:
mode:
authornjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 04:14:42 +0000
committernjn <njn@a5019735-40e9-0310-863c-91ae7b9d1cf9>2009-01-07 04:14:42 +0000
commit5a1ba0202dd941efbd30678f5bf2318550a16b1d (patch)
tree1fe8b9a410d21f3c60d05dc7cfadb44586a9bd64 /nightly
parent4f6f54bf97546faacd3ddbb56f4fd4553dce64e4 (diff)
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 a5019735-40e9-0310-863c-91ae7b9d1cf9
Diffstat (limited to 'nightly')
-rw-r--r--nightly/README.txt21
-rwxr-xr-xnightly/bin/nightly5
-rwxr-xr-xnightly/conf/georgia-tech-cellbuzz.sendmail2
-rwxr-xr-xnightly/conf/nemesis.sendmail4
4 files changed, 23 insertions, 9 deletions
diff --git a/nightly/README.txt b/nightly/README.txt
index a00dc11e..76ab6ca3 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 <tag>
-and supply conf/tag.conf and conf/tag.sendmail.
+and supply the following two config files:
+- conf/<tag>.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/<tag>.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 0e430885..10079943 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 a65f1e15..6463484c 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 ca6af71e..717bbe04 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
+