comparison tests/README @ 332:6c869059beb4

testing fixups -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 testing fixups Add note about running tests to README Fix issue with pipelines and set -x output stability Add note about stability issue to README manifest hash: 7e8d9da463b3110664e24978550faab3ef67a706 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCr0/FywK+sNU5EO8RAnWXAJ4toFrvgtsPfR3dYs9a81AsOrfiVQCfZKIf yJCboAnoJNSSjyUk42ALMxs= =YJ31 -----END PGP SIGNATURE-----
author mpm@selenic.com
date Tue, 14 Jun 2005 13:44:37 -0800
parents 55f63f3b6a54
children b2293093b89e b4e0e20646bb
comparison
equal deleted inserted replaced
331:55f63f3b6a54 332:6c869059beb4
1 A simple testing framework 1 A simple testing framework
2
3 To run the tests, do:
4
5 cd tests/
6 ./run-tests
2 7
3 This finds all scripts in the test directory named test-* and executes 8 This finds all scripts in the test directory named test-* and executes
4 them. The scripts can be either shell scripts or Python. Each test is 9 them. The scripts can be either shell scripts or Python. Each test is
5 run in a temporary directory that is removed when the test is complete. 10 run in a temporary directory that is removed when the test is complete.
6 11
23 28
24 - diff will show the current time 29 - diff will show the current time
25 30
26 use hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" to strip dates 31 use hg diff | sed "s/\(\(---\|+++\).*\)\t.*/\1/" to strip dates
27 32
33 - set -x and pipelines don't generate stable output
34
35 turn off set -x or break pipelines into pieces
36