43 Commits

Author SHA1 Message Date
Ivo Raisr
b07650fbc0 Fix bin/nightly.
Reported and patch suggested by: Rich Coe <rcoe@wi.rr.com>
2017-08-15 22:05:02 +02:00
Ivo Raisr
5d1fb22066 Fix nightly build script to work with new Valgrind GIT repository. 2017-08-14 15:27:33 +02:00
Ivo Raisr
2f698b3b62 Solaris specific fixes to nightly report.
Solaris libc is always tied to the Solaris release.
n-i-bz


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15855
2016-04-09 19:49:37 +00:00
Florian Krohm
dc91b2eb21 Improve the script to also show failures in the post-regtest checks
in the regtest log.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15478
2015-08-03 20:03:41 +00:00
Mark Wielaard
e477595f24 nightly: source is a bashism, use '.' instead
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14483
2014-09-06 18:33:14 +00:00
Mark Wielaard
2abe15a711 nightly: Try harder to get vendor stuff.
/etc/issue.net might just contain control chars (like \S) a generic welcome
message or omit the precise version. The newest standard is /etc/os-release
http://www.freedesktop.org/software/systemd/man/os-release.html
Otherwise there is often lsb_release
http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/lsbrelease.html
Try those first, fall back to /etc/issue.net if neither is there.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14482
2014-09-06 17:37:55 +00:00
Mark Wielaard
8b6a7865b4 nightly: Try even more locations for finding glibc.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14481
2014-09-06 17:37:54 +00:00
Mark Wielaard
f7a5dbd2fd nightly/bin/nightly: Handle libc.so being in /lib or /lib64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14443
2014-09-03 17:06:05 +00:00
Philippe Waroquiers
6a9976ee6c ensure nightly regression tests can (optionally) run perf tests
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13580
2013-09-27 18:10:29 +00:00
Philippe Waroquiers
e6ced88776 ensure nightly reports the GDB version
Useful to investigate the behaviour of gdbsrv tests


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13261
2013-01-23 21:46:22 +00:00
Bart Van Assche
6c7e4024f0 nightly build: Run nightly build also if only VEX has been modified. Check out matching revisions of Valgrind and VEX instead of using latest VEX when checking out the (today - 1) source code.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12381
2012-02-13 08:47:51 +00:00
Florian Krohm
64a0193623 Get rid of Roland McGrath et al.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12275
2011-11-24 16:07:41 +00:00
Florian Krohm
fe2fc37c76 Also display information about the assembler (binutils).
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12257
2011-11-03 02:10:02 +00:00
Florian Krohm
1816005ef7 Change the nightly script to gather information about the run
and its environment.
Simplify z900.sendmail accordingly.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12096
2011-10-04 16:53:34 +00:00
Florian Krohm
7bd8240fd3 Change get_svn_revision to also work with older subversion releases
that do not allow specifying a revision with svn info.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12012
2011-09-06 17:17:41 +00:00
Bart Van Assche
ffe10d3e48 Nightly build: Rename the attachment diffs into diffs.txt such that it can be viewed easily with an e-mail client.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11952
2011-07-30 11:26:57 +00:00
Nicholas Nethercote
cd689f75c5 Nightly test changes:
- Put the old tree in valgrind-old/ and the new one in valgrind-new/,
  instead of using valgrind/ for both.  That way, the old tree is still
  present after running the tests, so it can be inspected for problems.

  This required changing how ABT_RUN_REGTEST worked -- it no longer should
  change directories itself -- but I think Bart's machine is the only one
  using that and I updated the .conf file accordingly.

- Change some variable names -- only use the "ABT_" prefix for variables
  defined in the .conf files, and use $DIR and $TAG to match the README.txt.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10248
2009-06-04 23:17:12 +00:00
Nicholas Nethercote
32e4f096ab Print the end time as well as the start time so it's easy to see how long it
took.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10240
2009-06-04 02:25:39 +00:00
Nicholas Nethercote
7caba62683 Fixes for Darwin: it uses a different method for getting the time-and-date
for 24 hours ago.  Also, the default 'sh' doesn't support "echo -n" so use
"printf" instead.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10238
2009-06-04 01:43:49 +00:00
Nicholas Nethercote
f8c50a8c4e Two tweaks:
- Install in $DIR/valgrind/Inst/ rather than $DIR/Inst.  Just a bit neater.
- Run "make regtest" instead of "perl tests/vg_regtest --all", because we
  might not want to run all tests (eg. we don't on Darwin at the moment).



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10236
2009-06-04 01:01:47 +00:00
Bart Van Assche
be5957ae68 Only run the nightly build if there was a commit during the last 24 hours.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9646
2009-04-27 08:04:57 +00:00
Bart Van Assche
45e9cf6f75 Fixed typo in usage instructions: replaced bin/night by bin/nightly.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9519
2009-04-05 11:02:29 +00:00
Nicholas Nethercote
6804f95a33 Tweaks to the 'nightly' script and docs.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9349
2009-03-10 22:33:29 +00:00
Nicholas Nethercote
e928f54451 Change 'nightly' to print "(unchanged)" at the start of the email subject
line if the results are unchanged from 24 hours ago.  Makes it easier to see
(or filter) if results are unchanged.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9334
2009-03-10 03:38:05 +00:00
Bart Van Assche
baa4b0ca89 Made sure that all diff files are processed.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8939
2009-01-12 11:06:05 +00:00
Bart Van Assche
8b5dc4248f Added new nightly build configuration variable: ABT_EVAL.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8937
2009-01-12 08:23:15 +00:00
Bart Van Assche
7ed5c0529e Sort file names alphabetically before processing the diff files.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8924
2009-01-08 13:29:51 +00:00
Nicholas Nethercote
9019865c4a trunk/nightly/bin/nightly
Use '.' instead of 'source', because that's how /bin/sh does it.  This
    should make the script more reliable on systems that don't have bash as
    the /bin/sh, eg. Ubuntu and Debian.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8920
2009-01-08 06:24:13 +00:00
Nicholas Nethercote
601bead1f6 trunk/nightly/bin/nightly
Be POSIXy.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8916
2009-01-07 08:08:41 +00:00
Nicholas Nethercote
72e5540cd0 Index: nightly/bin/nightly
- Check that it is passed two arguments, abort if not (avoids some
      possibly confusing behaviour).
    - Remove various uses of $ABT_TOP in paths; it's not necessary because
      the first thing the script does is 'cd' to $ABT_TOP.  Furthemore, some
      paths lacked the $ABT_TOP which was confusing.
    - Gather up all the diffs from the tests, grab the first 100 lines (or
      less, if shorter) of each, and concatenate into a file, the name of
      which is passed to the <tag>.sendmail script so it can be attached.

Index: nightly/README.txt
    Explain the new 3rd argument.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8915
2009-01-07 06:19:03 +00:00
Nicholas Nethercote
9ad4964c5b trunk/nightly/bin/nightly
Use '=' instead of '==', which is a bash-ism that doesn't work on
    Debian/Ubuntu systems that have dash installed as /bin/sh.  It only
    mildly affected the script's running -- it made it say that certain
    stages failed when really they didn't.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8914
2009-01-07 04:47:20 +00:00
Nicholas Nethercote
af6908d764 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
2009-01-07 04:14:42 +00:00
Julian Seward
cf3bb82242 Don't apply cross-compilation patch during the nightly build any more,
as it's no longer necessary.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8840
2008-12-18 08:33:24 +00:00
Bart Van Assche
fdececd185 - Added support for the variable ABT_JOBS, number of jobs to run in parallel.
- Added support for the variable ABT_RUN_REGTEST, the command to run the regression tests.
- Added support for the variable ABT_CONFIGURE_OPTIONS, such that extra command line options
  can be passed to the configure script.
- Cross-compilation patch is applied after source code checkout and before the source code is
  compiled.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8588
2008-09-08 18:43:53 +00:00
Julian Seward
6ff3f3bc8f Track top level Makefile.am changes in r7390.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7394
2008-02-11 10:56:12 +00:00
Julian Seward
1e888cfd02 Make a new regtest target, "all-regtest", being the union of "make
regtest" and "make exp-regtest".  Then change the nightly build system
to run all-regtest instead of exp-regtest.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7332
2008-01-09 21:03:43 +00:00
Nicholas Nethercote
09445ab9b2 Make the nightly script say early on if the results have changed in
the last 24 hours.  This saves you from having to scroll down to
determine this when the number of failures is large (eg on PPC).


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4431
2005-08-16 03:28:47 +00:00
Tom Hughes
f8a787d602 There is no need to checkout and build VEX separately now.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4278
2005-07-27 07:37:41 +00:00
Nicholas Nethercote
67201c21b9 Improve script to compare the current code with that from 24 hours ago,
and print the diff if they aren't the same.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4224
2005-07-21 21:26:07 +00:00
Tom Hughes
aef0e2326c Run "make all" before "make install" as older versions of automake
don't put a dependency between the install target and $(BUILT_SOURCES)
so doing a straight install doesn't work.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3494
2005-04-01 08:07:54 +00:00
Tom Hughes
88222c8e7c Rework the nightly build script to stop as soon as one of the build
steps fails instead of carrying on with the other steps - this should
help ensure that the log fragment sent out contains useful information.

A second change is to ensure that if the regression tests complete
then the full results are included in the email - if they don't
complete then just the last 20 lines of output are sent as before.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3491
2005-03-31 10:19:59 +00:00
Tom Hughes
c34ba5aa3b Fix overnight build script to use subversion to get the source and
to handle needing to checkout and build vex before valgrind.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3471
2005-03-29 07:54:30 +00:00
Julian Seward
d1d5001b9c Add the nightly build scripts.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2270
2004-02-25 13:14:39 +00:00