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.
#----------------------------------------------------------------------------
# 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.
#----------------------------------------------------------------------------
#----------------------------------------------------------------------------
-#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
+