Commit Graph

24 Commits

Author SHA1 Message Date
Thomas Arendsen Hein
455a56454d Cleanup of tabs and trailing spaces. 2005-09-21 07:56:19 +02:00
eric@localhost.localdomain
1e0b094630 Add checks for programs which are required for the test suite to run.
All prerequisite programs are checked for existance, and if any are
missing,
a list of missing programs is printed, and the test suite is aborted.
All programs currently used in the tests, except those in core-utils,
are checked.
2005-09-19 18:24:37 -07:00
mpm@selenic.com
ea7bd9ea6f run-tests: remove '+ hg' trick
This was causing me a fair amount of debugging confusion. Let's just
forget it entirely. Updated tests to match.
2005-08-16 19:03:01 -08:00
Thomas Arendsen Hein
ffed02031c Cleaned up trap handling in run-tests, too. 2005-08-04 18:23:07 +01:00
Thomas Arendsen Hein
264aecc43e Removed special FIXME handling in run-tests, added bug info to .out files. 2005-08-04 18:13:17 +01:00
Thomas Arendsen Hein
628c0e8328 Incorporated most of Aron Griffis suggestions for sh compatibility. 2005-07-29 21:50:05 +01:00
Thomas Arendsen Hein
e657eff113 Use tabs instead of spaces where apropriate. 2005-07-29 21:34:41 +01:00
Thomas Arendsen Hein
572911a6fd Allow tests for not yet fixed bugs to fail without generating error diff. 2005-07-29 15:59:10 +01:00
Thomas Arendsen Hein
1723379c48 Make tests work on Solaris:
- replacement for mktemp
- fall back if shell arithmetic doesn't work
- replacement for 'set -x' (which results look different with some shells)
- "FOO=bar; export FOO" instead of "export FOO=bar"
- don't use 'if ! ...'
2005-07-29 15:11:05 +01:00
mpm@selenic.com
0411b81b0a Drop -t option from mktemp 2005-07-28 07:46:08 -08:00
mpm@selenic.com
51f030dcd8 Add template to mktemp call
Based on a patch from Soh Tk-r28629
2005-07-26 19:27:05 -08:00
mpm@selenic.com
3a08ca5eaa Update tests to use commit -m and default -u
manifest hash: 6e4385453843031a712005a320d6000595b40d05
2005-07-21 15:05:17 -05:00
Matt Mackall
c77de876fa Add username/merge/editor to .hgrc
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add username/merge/editor to .hgrc

These take priority over the equivalent environment vars
Deprecate HGMERGE, HGUSER, and HGEDITOR in docs
Add ui section to docs
Remove undocumented HG_OPTS
Raise username code out of changelog class
Make tests ignore ~/.hgrc

manifest hash: d127ef02bc5266036b4c77a55319519e91bd475b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCyM5NywK+sNU5EO8RAuU7AJ9zKk1TFrJXHM04jOOJJeBSp8jlTgCeP+tr
qwGFd+WaNqTepZ0wun5g9Uc=
=QEBu
-----END PGP SIGNATURE-----
2005-07-03 21:51:09 -08:00
Thomas Arendsen Hein
51ae3ccedf Remove bashisms and use /bin/sh instead of /bin/bash.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Remove bashisms and use /bin/sh instead of /bin/bash.

manifest hash: 25560e04ff8ac33a6d8b82d2328b4e90578bee4c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCxOEjW7P1GVgWeRoRAm9XAJ9IjlbMerPYEhKQQu7Ufcm6630cDwCfdXJ3
865XH6YVMuCYNjf3eibwQaM=
=r3gh
-----END PGP SIGNATURE-----
2005-07-01 07:22:27 +01:00
mpm@selenic.com
48708882e3 [PATCH] umask for run-tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] umask for run-tests

From: Bryan O'Sullivan <bos@serpentine.com>

Another local factor affecting test breakage: umask.  Mine is 002, but
some other people seem to use 022.

This patch makes run-tests explicitly set a umask.

manifest hash: 39aaea44746b113e992bcf0a9e93d9de3961c907
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwOz8ywK+sNU5EO8RAvr7AJ9gRknqzQD6UmV1SpzHGqQyclcuxgCeItoD
W7yNbrtIAPyMJsfwhVECx3s=
=KhYb
-----END PGP SIGNATURE-----
2005-06-27 22:23:56 -08:00
mpm@selenic.com
8c48a798fe [PATCH] Set locale before run-tests does anything
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Set locale before run-tests does anything

From: Bryan O'Sullivan <bos@serpentine.com>

On Mon, 2005-06-27 at 11:58 -0700, Bryan O'Sullivan wrote:

> I'm in en_us.UTF-8.

This discrepancy between my locale and Matt's broke several tests for
me, by the way.  I think that the run-tests script should forcibly set
the locale to either "C" or "en_us.UTF-8" before it runs anything.

Since "C" is likely to be more portable, it's probably the right choice.
Here's the patch.

manifest hash: 1bf3291eafbde0cdeb1222bb72295c0e2974f236
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCwOyVywK+sNU5EO8RAk18AJ4pYmvvJMZfFIR39NqvquXhhWPUTQCcDhhg
Ce12AHU8o+m/aFToyRaaQL8=
=5nRs
-----END PGP SIGNATURE-----
2005-06-27 22:22:13 -08:00
mpm@selenic.com
c64ecbc29e [PATCH] Get run-tests working on 64-bit machines.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[PATCH] Get run-tests working on 64-bit machines.

From: Bryan O'Sullivan <bos@serpentine.com>

manifest hash: 3704997be1744478414cddcd79c7bea5ccd6a1b1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCvfdvywK+sNU5EO8RAm5iAJ9mWxI4o2j7IM7Mko7IjfKfNtWJqwCcDekn
6GDlcDo/Q3nv8ybFzykwQjY=
=tS2i
-----END PGP SIGNATURE-----
2005-06-25 16:31:43 -08:00
mpm@selenic.com
6e38af3609 Delete error logs one test at a time
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Delete error logs one test at a time

manifest hash: 746674a89f762a39cf1a679a258a92cd02440f95
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuL3ZywK+sNU5EO8RAmYeAJ4uUd+zBdGx/H/CGKxXLjKX0vlDBwCfVRAA
zVnvyYT9CnmsctYE0NKXVVU=
=G53w
-----END PGP SIGNATURE-----
2005-06-21 17:24:41 -08:00
mpm@selenic.com
98beef30fe Quiet successful test install in run-tests
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quiet successful test install in run-tests

manifest hash: 73bb9dbf52a1c0d7ec50f4f7801c23735b67f94f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuL00ywK+sNU5EO8RAvoqAJ0QY538fracpIu1/TgVnqQXlAZKOwCghbMO
SLTy7QnYViCHjvYj9oegx/s=
=BgHs
-----END PGP SIGNATURE-----
2005-06-21 17:21:56 -08:00
mpm@selenic.com
cc9f09fa52 From: Andrew Thompson <andrewkt@aktzero.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

From: Andrew Thompson <andrewkt@aktzero.com>

Make a local temporary install of hg for running tests
Delete old error files before running tests

manifest hash: bbae21d506ce5be8df5dc97f14fcd0f8aece0b20
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCuLyQywK+sNU5EO8RAvROAJ93xEPZNphcpoLxGCMNkZ7SfL6+AQCfXCHZ
3kMQAuZnxo0dn98of/LVecY=
=bsV2
-----END PGP SIGNATURE-----
2005-06-21 17:19:12 -08:00
mpm@selenic.com
bf6439cf5c test suite: fix timezone problems and port collision problem
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

test suite: fix timezone problems and port collision problem

manifest hash: 44652133f49c24679b289c0250eb591682225c54
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsaq7ywK+sNU5EO8RAluQAKCSuUGge7bQPbWbQoIfWETDFRibNwCgs12e
/TSLCPJ0aHvqttMhJSaYOSU=
=5OYO
-----END PGP SIGNATURE-----
2005-06-16 08:37:15 -08:00
mpm@selenic.com
27f971df82 run-tests: run tests given on the command line
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

run-tests: run tests given on the command line

manifest hash: e0217e478de902d0de7b9a294509718365f1d837
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCsL7EywK+sNU5EO8RAiGJAJ92ZB/+N8+XnOt717cuADK9ajQ+lwCfW1LG
02mjQ04uoS0n+D8xi0KX9tM=
=d1lZ
-----END PGP SIGNATURE-----
2005-06-15 15:50:28 -08:00
mpm@selenic.com
d9e18a4804 run-tests: actually mark changed output as failure
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

run-tests: actually mark changed output as failure

manifest hash: d657fbfb2f3bcf24038f20b17d776248e4b63b6b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCr+CFywK+sNU5EO8RAhNnAKCa7xzxe4JEktfysqHIcerhwhtmnQCgsPgI
PDh6sYNfpsfNjFzrqYCh5A4=
=SOg/
-----END PGP SIGNATURE-----
2005-06-15 00:02:13 -08:00
mpm@selenic.com
47b5acb197 Add a simple testing framework
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Add a simple testing framework

manifest hash: 9eeea72f2f33438040998a190183958764232ece
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCr0wKywK+sNU5EO8RAl9FAJ4o1QUA/YE2hCSlUPngR8h30hT1xQCgoEhu
um2QkJOc2Rz7i6xTGPxuqzU=
=YyUM
-----END PGP SIGNATURE-----
2005-06-14 13:28:42 -08:00