Show More
@@ -35,6 +35,8 b'' | |||||
35 | # ./run-tests.py -j2 -c --local test-s* # unsupported (and broken) |
|
35 | # ./run-tests.py -j2 -c --local test-s* # unsupported (and broken) | |
36 | # 9) parallel, custom tmp dir: |
|
36 | # 9) parallel, custom tmp dir: | |
37 | # ./run-tests.py -j2 --tmpdir /tmp/myhgtests |
|
37 | # ./run-tests.py -j2 --tmpdir /tmp/myhgtests | |
|
38 | # 10) parallel, pure, tests that call run-tests: | |||
|
39 | # ./run-tests.py --pure `grep -l run-tests.py *.t` | |||
38 | # |
|
40 | # | |
39 | # (You could use any subset of the tests: test-s* happens to match |
|
41 | # (You could use any subset of the tests: test-s* happens to match | |
40 | # enough that it's worth doing parallel runs, few enough that it |
|
42 | # enough that it's worth doing parallel runs, few enough that it |
@@ -18,7 +18,7 b' Testing hghave extensibility for third p' | |||||
18 | > $ echo foo |
|
18 | > $ echo foo | |
19 | > foo |
|
19 | > foo | |
20 | > EOF |
|
20 | > EOF | |
21 | $ run-tests.py test-hghaveaddon.t |
|
21 | $ run-tests.py $HGTEST_RUN_TESTS_PURE test-hghaveaddon.t | |
22 | . |
|
22 | . | |
23 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
23 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
24 |
|
24 |
@@ -580,7 +580,7 b' Mercurial source tree.' | |||||
580 | > $ echo foo |
|
580 | > $ echo foo | |
581 | > foo |
|
581 | > foo | |
582 | > EOF |
|
582 | > EOF | |
583 | $ run-tests.py test-hghave.t |
|
583 | $ run-tests.py $HGTEST_RUN_TESTS_PURE test-hghave.t | |
584 | . |
|
584 | . | |
585 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
585 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
586 |
|
586 | |||
@@ -599,7 +599,7 b' running is placed.' | |||||
599 | > # |
|
599 | > # | |
600 | > # check-code - a style and portability checker for Mercurial |
|
600 | > # check-code - a style and portability checker for Mercurial | |
601 | > EOF |
|
601 | > EOF | |
602 | $ run-tests.py test-runtestdir.t |
|
602 | $ run-tests.py $HGTEST_RUN_TESTS_PURE test-runtestdir.t | |
603 | . |
|
603 | . | |
604 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
604 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
605 |
|
605 | |||
@@ -616,7 +616,7 b' test that TESTDIR is referred in PATH' | |||||
616 | > $ custom-command.sh |
|
616 | > $ custom-command.sh | |
617 | > hello world |
|
617 | > hello world | |
618 | > EOF |
|
618 | > EOF | |
619 | $ run-tests.py test-testdir-path.t |
|
619 | $ run-tests.py $HGTEST_RUN_TESTS_PURE test-testdir-path.t | |
620 | . |
|
620 | . | |
621 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
621 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. | |
622 |
|
622 | |||
@@ -628,10 +628,10 b' test support for --allow-slow-tests' | |||||
628 | > $ echo pass |
|
628 | > $ echo pass | |
629 | > pass |
|
629 | > pass | |
630 | > EOF |
|
630 | > EOF | |
631 | $ run-tests.py test-very-slow-test.t |
|
631 | $ run-tests.py $HGTEST_RUN_TESTS_PURE test-very-slow-test.t | |
632 | s |
|
632 | s | |
633 | Skipped test-very-slow-test.t: skipped |
|
633 | Skipped test-very-slow-test.t: skipped | |
634 | # Ran 0 tests, 1 skipped, 0 warned, 0 failed. |
|
634 | # Ran 0 tests, 1 skipped, 0 warned, 0 failed. | |
635 | $ run-tests.py --allow-slow-tests test-very-slow-test.t |
|
635 | $ run-tests.py $HGTEST_RUN_TESTS_PURE --allow-slow-tests test-very-slow-test.t | |
636 | . |
|
636 | . | |
637 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
|
637 | # Ran 1 tests, 0 skipped, 0 warned, 0 failed. |
General Comments 0
You need to be logged in to leave comments.
Login now