Commit Graph

93 Commits

Author SHA1 Message Date
Julien Fischer
8f9762dac7 Bump the release branch.
tools/run_all_tests_from_cron:
	Bump the release branch.
2012-08-12 18:03:03 +00:00
Julien Fischer
5857a2b2a0 Use carlton as the ROTD host since goliath is dead.
tools/run_all_test_from_cron:
tools/test_mercury:
	Use carlton as the ROTD host since goliath is dead.
2012-05-16 07:07:36 +00:00
Julien Fischer
9990a9530d Update the release branch.
tools/run_all_tests_from_cron:
	Update the release branch.
2011-06-28 04:09:05 +00:00
Julien Fischer
c8fbcb2507 Build the release branch on the new rotd host.
tools/run_all_tests_from_cron:
	Build the release branch on the new rotd host.
2011-02-08 03:53:59 +00:00
Julien Fischer
007f47154a 11.01 is now the release branch.
Branches: main

tools/run_all_tests_from_cron:
	11.01 is now the release branch.
2010-12-19 14:16:24 +00:00
Julien Fischer
bb56fe25f2 Build 10.04 beta tarballs on saturn every other day.
tools/run_all_tests_from_cron:
tools/test_mercury:
	Build 10.04 beta tarballs on saturn every other day.

	Strip out some stuff related to aral.
2010-03-18 07:26:40 +00:00
Julien Fischer
284b5ddcc3 Update the build scripts for building the 10.04 betas.
tools/run_all_tests_from_cron:
	10.04 is now the release branch.

tools/test_mercury:
	Prepare for building the 10.04 branch.

	Delete stuff related to the 0.13 branch.
2010-03-06 14:20:26 +00:00
Julien Fischer
1a39230519 Make aral the ROTD host.
tools/run_all_test_from_cron:
tools/test_mercury:
	Make aral the ROTD host.

	Delete stuff related to dead hosts.
2009-04-15 06:25:23 +00:00
Julien Fischer
eaf7b1091a Build and test Mercury on goliath and bob (one of the VMs on spelter).
tools/run_all_tests_from_cron:
tools/test_mercury:
	Add the necessary entries for goliath and bob.

	Update the beta FTP directory - it's now hosted on uranus
	not earth.

	Delete stuff related to earth and aral, which are no longer
	in use.

	Delete stuff related to uranus, it shouldn't be doing
	Mercury builds.
2009-01-06 06:54:06 +00:00
Julien Fischer
bd0bdb797a Re-arrange some of the nightly tests, mainly in order to reduce the load
Estimated hours taken: 0.2
Branches: main

Re-arrange some of the nightly tests, mainly in order to reduce the load
on swordfish.

tools/test_mercury:
	Remove stuff related to uranus - this machine will not be
	used for general testing of Mercury.

	Remove stuff related to ceres since it is now dead.

	Remove the G12_ROTD_HOST stuff - we never really used it.

	Dial down the optimization level used on swordfish since with
	the current load the regression tests are taking longer than
	24 hours.

	Remove stuff related to mundroo.

	Install .trseg grades on swordfish in place of .tr grades.

tools/run_all_tests_from_cron:
	s/pluto/goofy/
2008-09-30 05:54:14 +00:00
Julien Fischer
ef080378f4 Change some of our test infrastructure to avoid using /home/mercury where possible.
Estimated hours taken: 1
Branches: main

Change some of our test infrastructure to avoid using /home/mercury where possible.
This will mean that test runs can complete, even in situations where /home/mercury
becomes inacessible.

tools/test_mercury:
	Avoid (un)tagging the repository after each test run.
	(If anyone wants to checkout the specific version used in a test run they
	can do so using the start time which is recorded at the beginning of the log.)
	This will prevent the situation that sometimes occurs now where mulitple machines
	tie up the repository because they are all trying to simultaenously (un)tag
	it.

tools/run_all_tests_from_cron:
	Write the of logs of the nightly tests to a local filesystem rather
	than to /home/mercury.  (We will set up symbolic links from /home/mercury
	to point to these logs.)
2008-02-18 03:10:38 +00:00
mercury
2b0b840f42 Initial changes to get nightly builds running on eris.
tools/run_all_tests_from_cron:
tools/test_mercury:
	Initial changes to get nightly builds running on eris.
2007-12-06 05:35:48 +00:00
Peter Wang
a1041a7acc Modify nightly test scripts to allow testing with `mmc --make' and testing of
Estimated hours taken: 4
Branches: main

Modify nightly test scripts to allow testing with `mmc --make' and testing of
the erlang grade.

tools/run_all_tests_from_cron:
        Accept a fourth command line argument to enable testing
        with mmc --make (which should be `--use-mmc-make' in that case).
        Pass this to test_mercury.

tools/test_mercury:
        Accept the additional --use-mmc-make option.  Pass that to all
        calls of mmake and bootcheck.

        Make ceres install and test the erlang grade if called with
        --use-mmc-make.
2007-08-21 04:39:51 +00:00
Julien Fischer
2d0690019f Updates for nightly builds on neptune and pluto.
Estimated hours taken: 0.1
Branches: main

tools/run_all_tests_from_cron:
	Updates for nightly builds on neptune and pluto.
2007-01-19 06:29:21 +00:00
Julien Fischer
24d6ff0219 Don't test the release branch for now; if it becomes
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	Don't test the release branch for now; if it becomes
	necessary to release 0.13.2 we can start testing it
	again.
2006-12-07 06:03:50 +00:00
Julien Fischer
34c48f824b earth and ceres can go back to running nightly tests only
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	earth and ceres can go back to running nightly tests only
	on the main branch.
2006-09-29 07:21:20 +00:00
Julien Fischer
ba93d10247 Set up for building the next g12 Mercury relase.
Estimated hours taken: 0
Branches: main

tools/test_mercury:
	Set up for building the next g12 Mercury relase.

tools/run_all_tests_from_cron:
	Test the release branch on earth and ceres.
2006-04-07 05:30:50 +00:00
Julien Fischer
acb0122d24 Test the release branch on saturn every other day.
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	Test the release branch on saturn every other day.
2006-04-06 07:35:48 +00:00
Julien Fischer
dead1d6c03 Begin building 0.13-betas on jupiter. (I'll sort the other machines out later
Estimated hours taken: 0.1
Branches: main

tools/run_all_tests_from_cron:
	Begin building 0.13-betas on jupiter.  (I'll sort the other machines out later
	this week.)
2006-04-02 04:36:10 +00:00
Julien Fischer
c92c75522f Only test the main branch on mundroo and mundula.
tools/run_all_test_from_cron:
	Only test the main branch on mundroo and mundula.
2006-02-06 12:16:48 +00:00
Julien Fischer
b7eb81435b Fix a typo: s/juptier/jupiter/
Estimated hours taken: 0.5
Branches: main

tools/run_all_tests_from_cron:
	Fix a typo: s/juptier/jupiter/

tools/test_mercury:
	Setup nightly tests on five of the six machines we have
	borrowed for summer (leopard is being used for benchmarking).

	Remove stuff related to ender, roy and hg and these hosts
	are now retired.
2005-12-01 04:44:17 +00:00
Julien Fischer
e700e652ab Send the results of the nightly builds to me rather
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	Send the results of the nightly builds to me rather
	than Zoltan while he is away.
2005-11-30 00:47:03 +00:00
Julien Fischer
2b7515ba2c Don't test the release branch as much.
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	Don't test the release branch as much.
2005-11-29 08:05:01 +00:00
Julien Fischer
ff2901a244 Build 0.12.1-beta on jupiter.
Estimated hours taken: 0
Branches: main

tools/run_all_tests_from_cron:
	Build 0.12.1-beta on jupiter.

	Balance the testing schedule so that about half the machines are
	building the release branch on alternate nights.
2005-11-16 06:02:21 +00:00
Julien Fischer
fe53b35e5e Setup for weekly tests on mundula.
Estimated hours taken: 0.1
Branches: main

tools/run_all_tests_from_cron:
	Setup for weekly tests on mundula.

	Delete stuff related to saskervoy (one of the machines we borrowed
	last summer).

	Test the release branch on swordfish.
2005-11-03 02:24:15 +00:00
Ian MacLarty
cff012f124 Add /usr/bin to the PATH so that basic commands like cp can be run.
Estimated hours taken: 1
Branches: main

tools/run_all_tests_from_cron:
tools/test_mercury:
	Add /usr/bin to the PATH so that basic commands like cp can be run.
        ulimit doesn't seem to work properly on cygwin, so disable it for
        uranus.
        Enable nightly builds on uranus.
2005-10-31 07:12:44 +00:00
Ian MacLarty
2e04ddc748 Remove the architecture string from the installed directory structure
Estimated hours taken: 1
Branches: main and 0.12

Remove the architecture string from the installed directory structure
and put the executables in $PREFIX/bin, instead of
$PREFIX/lib/mercury/bin/$FULLARCH.

The reason for this change is to reduce the need for unix shell scripts in
the top-level bin directory that call the actual programs in the
lib/mercury/bin/FULLARCH directory.  The unix scripts can't be run on Windows
without a unix emulation environment like Cygwin.

Because the executables are now in the top-level bin directory, we cannot
install multiple architectures under the same directory structure.  However
this is not a real loss, since the binaries for different architectures can
just be installed to different locations, as we currently do anyway on
mundula.cs.mu.oz.au.

The plan is to rename mercury_compile to mmc and do away with the mmc unix
script.  This will allow mmc to be run on Windows without Cygwin or MSYS.
This proposal replaces a previous proposal to implement a C version of the
mmc script.  That solution turned out to be quite complicated and
unreliable.

This diff will also mean mdice, mslice and mtc_union will be in the same
directory as mmc, so will be in the PATH as long as mmc is in the PATH.

configure.in:
bindist/Mmakefile:
bindist/bindist.Makefile.in:
compiler/compile_target_code.m:
compiler/handle_options.m:
compiler/make.program_target.m:
debian/rules:
library/Mmakefile:
scripts/Mmake.vars.in:
scripts/mdprof.in:
scripts/mercury.bat.in:
scripts/mgnuc.in:
scripts/ml.in:
scripts/mmc.in:
scripts/mprof.in:
tools/run_all_tests_from_cron:
tools/test_mercury:
	Remove FULLARCH from the installed directory structure.
	Install executables to the top-level bin directory.
2005-10-25 10:17:29 +00:00
Julien Fischer
9b1fc2271c Don't build the release branch on swordfish.
Estimated hours taken: 0.1
Branches: main

tools/run_all_tests_from_cron:
	Don't build the release branch on swordfish.

	Delete entries related to almery and ascolais,
	we no longer have these machines.
2005-09-14 06:21:27 +00:00
Julien Fischer
2051fc8aa6 s/release/$release_branch/ in a few spots.
Estimated hours taken: 0.1
Branches: main, release

tools/run_all_tests_from_cron:
	s/release/$release_branch/ in a few spots.
2005-02-01 06:37:00 +00:00
Julien Fischer
a816cfb915 Setup to test the release branch on linux/x86.
Estimated hours taken: 0.1
Branches: main, release

Setup to test the release branch on linux/x86.

	aral/jupiter - main branch only
	earth/saskervoy/ceres - release on odd numbered days
	almery/ascolais/swordfish - release on even numbered days

	hg/ender - main branch (if anything)

tools/run_all_tests_from_cron:
	Start testing the release branch.
2005-02-01 06:27:48 +00:00
Julien Fischer
bd9129bff2 Update this script in preparation for the 0.12 release.
Estimated hours taken: 0.1
Branches: main, release

tools/run_all_tests_from_cron:
	Update this script in preparation for the 0.12 release.
	Delete references to hosts that no longer exist.
2005-02-01 03:41:48 +00:00
Zoltan Somogyi
039119e078 Test only the latest branch for now.
Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
	Test only the latest branch for now.
2004-07-02 03:07:40 +00:00
Fergus Henderson
64415dca52 Fix a bug where the tests on taifun were all being run on
Estimated hours taken: 1
Branches: main

tools/run_all_tests_from_cron:
	Fix a bug where the tests on taifun were all being run on
	the main branch, rather than (as the documentation here suggested)
	testing the release branch once a week.
	The problem was that this script was only running the release
	branch when day = 6 (Saturday), but the tests on taifun
	were only being run on Sun, Wed, and Fri, not Sat.
	I changed the script to test for day = 6 or day = 0.
2003-05-19 17:31:03 +00:00
Zoltan Somogyi
10816d3531 Add aral to the list of machines we test Mercury on.
Estimated hours taken: 0.5
Branches: main

tools/test_mercury:
tools/run_all_tests_from_cron:
	Add aral to the list of machines we test Mercury on.
2003-03-31 09:30:29 +00:00
Fergus Henderson
e69a4f86fa - Test both the 0.11 branch and the main branch,
Estimated hours taken: 0.25
Branches: main

tools/run_all_tests_from_cron:
	- Test both the 0.11 branch and the main branch,
	  rather than concentrating on the 0.11 branch.
2003-01-17 07:47:04 +00:00
Fergus Henderson
4e5067da6b A temporary change, for while we're preparing for the new release:
Estimated hours taken: 0.25
Branches: main

tools/run_all_tests_from_cron:
	A temporary change, for while we're preparing for the new release:
	run most of the tests on the release branch rather than the main
	branch.
2002-11-13 06:35:23 +00:00
Fergus Henderson
7cd0c1d2ae - Test the 0.11 branch rather than the 0.10 branch.
Estimated hours taken: 0.25
Branches: main

tools/run_all_tests_from_cron:
	- Test the 0.11 branch rather than the 0.10 branch.
2002-11-13 06:26:28 +00:00
Fergus Henderson
96975928f8 Create some more directories automatically if they don't exist already.
Estimated hours taken: 0.25
Branches: main

tools/run_all_tests_from_cron:
	Create some more directories automatically if they don't exist already.
2002-10-06 19:46:01 +00:00
Fergus Henderson
afc8922239 Some more changes to make it easier to run our nightly tests on new hosts.
Estimated hours taken: 0.25
Branches: main

Some more changes to make it easier to run our nightly tests on new hosts.

tools/run_all_tests_from_cron:
	Create the necessary directories automatically if they don't exist
	already.
	Ensure that we use the version of config.guess from the Mercury CVS
	repository, rather than assuming it will be in the PATH.
2002-10-06 19:24:40 +00:00
Fergus Henderson
3ec920d372 Some changes to make the tests work on machines that are not part
Estimated hours taken: 2
Branches: main

tools/run_all_tests_from_cron:
tools/test_mercury:
	Some changes to make the tests work on machines that are not part
	of the Mercury network (i.e. that don't NFS-mount /home/mercury):
        - Use $HOME/public rather than /home/mercury/public if the latter
	  doesn't exist.
	- Don't make files group-writable unless /home/mercury/public
	  exists.
	- Remove some obsolete directories (gcc-2.7.2, egcs, nu-prolog,
	  sicstus3) from the PATH.
	- Simplify the logic for which bootstrap compiler to use.
	- Avoid hard-coding the list of hosts and their architectures,
	  grades, etc.

Mmakefile:
	Add `echo_libgrades' target, for use by tools/test_mercury.
2002-09-23 17:22:26 +00:00
Fergus Henderson
718b76f047 Various minor fixes to the nightly tests.
Estimated hours taken: 1
Branches: main

Various minor fixes to the nightly tests.

tools/run_all_tests_from_cron:
	- Test on mundroo.
	- Fix a bug where it was not preserving the old `.test_errs' files.
	- Fix a bug where there was a syntax error in a call to grep,
	  which lead to incorrect output in the cron email.
	- Fix a bug where it was listing the wrong copy of `mercury_compile'
	  in the cron email.

tools/test_mercury:
	- Test lcc on mars.
	- Use GCC 3.2 rather than 3.0 for the native code back-end.
2002-09-15 11:22:40 +00:00
Simon Taylor
6c7ce3ba4c Fix another inverted test.
Estimated hours taken: 0.25

tools/run_all_tests_from_cron:
	Fix another inverted test.
2002-08-21 08:08:35 +00:00
Simon Taylor
fbf7727a9e Only mail the log summaries if they are non-empty.
Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
	Only mail the log summaries if they are non-empty.
2002-08-18 15:02:21 +00:00
Simon Taylor
0fcceece7f Fix inverted tests in my last change.
Estimated hours taken: 0.1
Branches: main

tools/run_all_tests_from_cron:
	Fix inverted tests in my last change.
2002-08-17 15:01:13 +00:00
Simon Taylor
47a4d62dc1 Improve the test framework to make it easier to find out which tests
Estimated hours taken: 30
Branches: main

Improve the test framework to make it easier to find out which tests
failed and to reduce disk usage (important in debug grades).

Allow the tests to be run with `mmc --make' (still some failures).

Allow the user to run only the failing tests from a previous
run by using `mmake ERROR_FILE=runtests.errs', where runtests.errs
is the log file from the previous run.

tests/Mmake.common:
tests/*/Mmakefile:
	Move common code (such as the code to deal with subdirectories)
	to Mmake.common.

	Run the tests using `mmake runtests' rather than using slightly
	different runtests scripts in each directory.

	Add to the output from `mmake runtests' to make it easier to
	identify which tests failed in which grades.

	Move per-module options into Mercury.options files so they
	can be read by `mmc --make'.

	Remove the last of the NU-Prolog support.

	Consistently use the main module name when listing tests.
	Some directories (e.g. invalid) were using the source file
	name.

tests/process_log.awk:
	Collect the parts of the output relating to failing tests.

tests/generate_exp:
tests/handle_options:
tests/subdir_runtests:
tests/startup:
tests/shutdown:
tests/*/runtests:
tests/recompilation/TESTS:
	Removed.

tests/recompilation/test_functions:
	Make sure the old result file is removed before starting
	each test.

	Put the mmake output for tests which are supposed to fail
	into a different file for each test.

tests/warnings/Mmakefile:
	Use %.c rather than $(cs_subdir)%.c in a rule.
	The $(cs_subdir) part doesn't work with `mmc --make',
	and isn't necessary any more (modules.m generates a rule
	`module.c: $(cs_subdir)module.c').

tests/README:
	Updated.

tools/bootcheck:
tools/test_mercury:
	Use `mmake runtests' instead of the `runtests' script.

	Add a `-f' (`--failing-tests') option to bootcheck which
	runs only the failing tests from the last run.

tools/test_mercury:
tools/run_all_tests_from_cron:
	Use the new framework to summarize test failures.
2002-08-17 13:52:35 +00:00
Simon Taylor
801bad06b7 Another change to run the tests on mundroo.
Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
	Another change to run the tests on mundroo.
2002-04-30 06:06:46 +00:00
Simon Taylor
a0bb50737f Set up to run the tests on mundroo (Solaris/x86 2.8).
Estimated hours taken: 0.25

tools/run_all_tests_from_cron:
tools/test_mercury:
	Set up to run the tests on mundroo (Solaris/x86 2.8).

	The tests on mundroo and taifun are run 3 times a week.
	Always test the main branch twice per week, rather than
	just on even-numbered days.
2002-04-29 09:16:25 +00:00
Simon Taylor
72528a8cde Fix a bug in my last change which caused the nightly tests
Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
tools/test_mercury:
	Fix a bug in my last change which caused the nightly tests
	to fail on murlibobo -- sh doesn't do tilde expansion, so
	hard-code the location of the .path file..
2001-11-14 17:42:44 +00:00
Simon Taylor
79b47bc232 Remove dependencies on /home/pgrad.
Estimated hours taken: 0.1

tools/run_all_tests_from_cron:
tools/test_mercury:
	Remove dependencies on /home/pgrad.
2001-11-13 06:21:54 +00:00
Simon Taylor
2f656b2f47 For some reason hydra doesn't handle .forward files,
Estimated hours taken: 0.25

tools/run_all_tests_from_cron:
	For some reason hydra doesn't handle .forward files,
	so mail to stayl@cs.mu.oz.au rather than stayl.
2001-11-07 17:06:01 +00:00