Show More
@@ -2795,13 +2795,15 b' class TestRunner(object):' | |||
|
2795 | 2795 | |
|
2796 | 2796 | tests = [self._gettest(d, i) for i, d in enumerate(testdescs)] |
|
2797 | 2797 | |
|
2798 | jobs = min(len(tests), self.options.jobs) | |
|
2799 | ||
|
2798 | 2800 | failed = False |
|
2799 | 2801 | kws = self.options.keywords |
|
2800 | 2802 | if kws is not None and PYTHON3: |
|
2801 | 2803 | kws = kws.encode('utf-8') |
|
2802 | 2804 | |
|
2803 | 2805 | suite = TestSuite(self._testdir, |
|
2804 |
jobs= |
|
|
2806 | jobs=jobs, | |
|
2805 | 2807 | whitelist=self.options.whitelisted, |
|
2806 | 2808 | blacklist=self.options.blacklist, |
|
2807 | 2809 | retest=self.options.retest, |
@@ -2829,6 +2831,9 b' class TestRunner(object):' | |||
|
2829 | 2831 | assert self._installdir |
|
2830 | 2832 | self._installchg() |
|
2831 | 2833 | |
|
2834 | log('running %d tests using %d parallel processes' % ( | |
|
2835 | len(tests), jobs)) | |
|
2836 | ||
|
2832 | 2837 | result = runner.run(suite) |
|
2833 | 2838 | |
|
2834 | 2839 | if result.failures: |
@@ -7,6 +7,7 b' Avoid interference from actual test env:' | |||
|
7 | 7 | Smoke test with install |
|
8 | 8 | ============ |
|
9 | 9 | $ "$PYTHON" $TESTDIR/run-tests.py $HGTEST_RUN_TESTS_PURE -l |
|
10 | running 0 tests using 0 parallel processes | |
|
10 | 11 | |
|
11 | 12 | # Ran 0 tests, 0 skipped, 0 failed. |
|
12 | 13 | |
@@ -23,6 +24,7 b' error paths' | |||
|
23 | 24 | $ ln -s `which true` hg |
|
24 | 25 | $ "$PYTHON" $TESTDIR/run-tests.py --with-hg=./hg |
|
25 | 26 | warning: --with-hg should specify an hg script |
|
27 | running 0 tests using 0 parallel processes | |
|
26 | 28 | |
|
27 | 29 | # Ran 0 tests, 0 skipped, 0 failed. |
|
28 | 30 | $ rm hg |
@@ -55,6 +57,7 b' an empty test' | |||
|
55 | 57 | |
|
56 | 58 | $ touch test-empty.t |
|
57 | 59 | $ rt |
|
60 | running 1 tests using 1 parallel processes | |
|
58 | 61 | . |
|
59 | 62 | # Ran 1 tests, 0 skipped, 0 failed. |
|
60 | 63 | $ rm test-empty.t |
@@ -88,6 +91,7 b' a succesful test' | |||
|
88 | 91 | > EOF |
|
89 | 92 | |
|
90 | 93 | $ rt |
|
94 | running 1 tests using 1 parallel processes | |
|
91 | 95 | . |
|
92 | 96 | # Ran 1 tests, 0 skipped, 0 failed. |
|
93 | 97 | |
@@ -102,6 +106,7 b' test churn with globs' | |||
|
102 | 106 | > | fo (re) |
|
103 | 107 | > EOF |
|
104 | 108 | $ rt test-failure.t |
|
109 | running 1 tests using 1 parallel processes | |
|
105 | 110 | |
|
106 | 111 | --- $TESTTMP/test-failure.t |
|
107 | 112 | +++ $TESTTMP/test-failure.t.err |
@@ -139,6 +144,7 b' test how multiple globs gets matched wit' | |||
|
139 | 144 | > value: * (glob) |
|
140 | 145 | > EOF |
|
141 | 146 | $ rt test-failure-globs.t |
|
147 | running 1 tests using 1 parallel processes | |
|
142 | 148 | |
|
143 | 149 | --- $TESTTMP/test-failure-globs.t |
|
144 | 150 | +++ $TESTTMP/test-failure-globs.t.err |
@@ -234,6 +240,7 b' test diff colorisation' | |||
|
234 | 240 | > missing (?) |
|
235 | 241 | > EOF |
|
236 | 242 | $ rt test-failure.t |
|
243 | running 1 tests using 1 parallel processes | |
|
237 | 244 | |
|
238 | 245 | --- $TESTTMP/test-failure.t |
|
239 | 246 | +++ $TESTTMP/test-failure.t.err |
@@ -292,6 +299,7 b' basic failing test' | |||
|
292 | 299 | >>> fh.write(u' l\u03b5\u03b5t\n'.encode('utf-8')) and None |
|
293 | 300 | |
|
294 | 301 | $ rt |
|
302 | running 3 tests using 1 parallel processes | |
|
295 | 303 | |
|
296 | 304 | --- $TESTTMP/test-failure.t |
|
297 | 305 | +++ $TESTTMP/test-failure.t.err |
@@ -323,6 +331,7 b' basic failing test' | |||
|
323 | 331 | test --outputdir |
|
324 | 332 | $ mkdir output |
|
325 | 333 | $ rt --outputdir output |
|
334 | running 3 tests using 1 parallel processes | |
|
326 | 335 | |
|
327 | 336 | --- $TESTTMP/test-failure.t |
|
328 | 337 | +++ $TESTTMP/output/test-failure.t.err |
@@ -359,6 +368,7 b' test --outputdir' | |||
|
359 | 368 | |
|
360 | 369 | test --xunit support |
|
361 | 370 | $ rt --xunit=xunit.xml |
|
371 | running 3 tests using 1 parallel processes | |
|
362 | 372 | |
|
363 | 373 | --- $TESTTMP/test-failure.t |
|
364 | 374 | +++ $TESTTMP/test-failure.t.err |
@@ -481,6 +491,7 b' test for --retest' | |||
|
481 | 491 | ==================== |
|
482 | 492 | |
|
483 | 493 | $ rt --retest |
|
494 | running 2 tests using 1 parallel processes | |
|
484 | 495 | |
|
485 | 496 | --- $TESTTMP/test-failure.t |
|
486 | 497 | +++ $TESTTMP/test-failure.t.err |
@@ -504,6 +515,7 b' test for --retest' | |||
|
504 | 515 | $ mkdir output |
|
505 | 516 | $ mv test-failure.t.err output |
|
506 | 517 | $ rt --retest --outputdir output |
|
518 | running 2 tests using 1 parallel processes | |
|
507 | 519 | |
|
508 | 520 | --- $TESTTMP/test-failure.t |
|
509 | 521 | +++ $TESTTMP/output/test-failure.t.err |
@@ -528,17 +540,20 b' Selecting Tests To Run' | |||
|
528 | 540 | successful |
|
529 | 541 | |
|
530 | 542 | $ rt test-success.t |
|
543 | running 1 tests using 1 parallel processes | |
|
531 | 544 | . |
|
532 | 545 | # Ran 1 tests, 0 skipped, 0 failed. |
|
533 | 546 | |
|
534 | 547 | success w/ keyword |
|
535 | 548 | $ rt -k xyzzy |
|
549 | running 2 tests using 1 parallel processes | |
|
536 | 550 | . |
|
537 | 551 | # Ran 2 tests, 1 skipped, 0 failed. |
|
538 | 552 | |
|
539 | 553 | failed |
|
540 | 554 | |
|
541 | 555 | $ rt test-failure.t |
|
556 | running 1 tests using 1 parallel processes | |
|
542 | 557 | |
|
543 | 558 | --- $TESTTMP/test-failure.t |
|
544 | 559 | +++ $TESTTMP/test-failure.t.err |
@@ -559,6 +574,7 b' failed' | |||
|
559 | 574 | |
|
560 | 575 | failure w/ keyword |
|
561 | 576 | $ rt -k rataxes |
|
577 | running 2 tests using 1 parallel processes | |
|
562 | 578 | |
|
563 | 579 | --- $TESTTMP/test-failure.t |
|
564 | 580 | +++ $TESTTMP/test-failure.t.err |
@@ -584,6 +600,7 b' Verify that when a process fails to star' | |||
|
584 | 600 | > $ echo 'abort: child process failed to start blah' |
|
585 | 601 | > EOF |
|
586 | 602 | $ rt test-serve-fail.t |
|
603 | running 1 tests using 1 parallel processes | |
|
587 | 604 | |
|
588 | 605 | --- $TESTTMP/test-serve-fail.t |
|
589 | 606 | +++ $TESTTMP/test-serve-fail.t.err |
@@ -614,6 +631,7 b' HGRCPATH to get a clean environment.' | |||
|
614 | 631 | > $ cat hg.pid >> \$DAEMON_PIDS |
|
615 | 632 | > EOF |
|
616 | 633 | $ rt test-serve-inuse.t |
|
634 | running 1 tests using 1 parallel processes | |
|
617 | 635 | . |
|
618 | 636 | # Ran 1 tests, 0 skipped, 0 failed. |
|
619 | 637 | $ rm test-serve-inuse.t |
@@ -623,6 +641,7 b' Running In Debug Mode' | |||
|
623 | 641 | ====================== |
|
624 | 642 | |
|
625 | 643 | $ rt --debug 2>&1 | grep -v pwd |
|
644 | running 2 tests using 1 parallel processes | |
|
626 | 645 | + echo *SALT* 0 0 (glob) |
|
627 | 646 | *SALT* 0 0 (glob) |
|
628 | 647 | + echo babar |
@@ -661,6 +680,7 b' Parallel runs' | |||
|
661 | 680 | $ cp test-failure.t test-failure-copy.t |
|
662 | 681 | |
|
663 | 682 | $ rt --jobs 2 test-failure*.t -n |
|
683 | running 2 tests using 2 parallel processes | |
|
664 | 684 | !! |
|
665 | 685 | Failed test-failure*.t: output changed (glob) |
|
666 | 686 | Failed test-failure*.t: output changed (glob) |
@@ -670,6 +690,7 b' Parallel runs' | |||
|
670 | 690 | |
|
671 | 691 | failures in parallel with --first should only print one failure |
|
672 | 692 | $ rt --jobs 2 --first test-failure*.t |
|
693 | running 2 tests using 2 parallel processes | |
|
673 | 694 | |
|
674 | 695 | --- $TESTTMP/test-failure*.t (glob) |
|
675 | 696 | +++ $TESTTMP/test-failure*.t.err (glob) |
@@ -701,6 +722,7 b' Interactive run' | |||
|
701 | 722 | Refuse the fix |
|
702 | 723 | |
|
703 | 724 | $ echo 'n' | rt -i |
|
725 | running 2 tests using 1 parallel processes | |
|
704 | 726 | |
|
705 | 727 | --- $TESTTMP/test-failure.t |
|
706 | 728 | +++ $TESTTMP/test-failure.t.err |
@@ -734,6 +756,7 b' Refuse the fix' | |||
|
734 | 756 | Interactive with custom view |
|
735 | 757 | |
|
736 | 758 | $ echo 'n' | rt -i --view echo |
|
759 | running 2 tests using 1 parallel processes | |
|
737 | 760 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
|
738 | 761 | Accept this change? [n]* (glob) |
|
739 | 762 | ERROR: test-failure.t output changed |
@@ -746,6 +769,7 b' Interactive with custom view' | |||
|
746 | 769 | View the fix |
|
747 | 770 | |
|
748 | 771 | $ echo 'y' | rt --view echo |
|
772 | running 2 tests using 1 parallel processes | |
|
749 | 773 | $TESTTMP/test-failure.t $TESTTMP/test-failure.t.err |
|
750 | 774 | |
|
751 | 775 | ERROR: test-failure.t output changed |
@@ -766,6 +790,7 b' Accept the fix' | |||
|
766 | 790 | > saved backup bundle to \$TESTTMP/*.hg (glob) |
|
767 | 791 | > EOF |
|
768 | 792 | $ echo 'y' | rt -i 2>&1 |
|
793 | running 2 tests using 1 parallel processes | |
|
769 | 794 | |
|
770 | 795 | --- $TESTTMP/test-failure.t |
|
771 | 796 | +++ $TESTTMP/test-failure.t.err |
@@ -815,6 +840,7 b' Race condition - test file was modified ' | |||
|
815 | 840 | > EOF |
|
816 | 841 | |
|
817 | 842 | $ rt -i test-race.t |
|
843 | running 1 tests using 1 parallel processes | |
|
818 | 844 | |
|
819 | 845 | --- $TESTTMP/test-race.t |
|
820 | 846 | +++ $TESTTMP/test-race.t.err |
@@ -848,6 +874,7 b' When "#testcases" is used in .t files' | |||
|
848 | 874 | > y |
|
849 | 875 | > y |
|
850 | 876 | > EOF |
|
877 | running 2 tests using 1 parallel processes | |
|
851 | 878 | |
|
852 | 879 | --- $TESTTMP/test-cases.t |
|
853 | 880 | +++ $TESTTMP/test-cases.t#a.err |
@@ -893,6 +920,7 b' When "#testcases" is used in .t files' | |||
|
893 | 920 | > B (b !) |
|
894 | 921 | > EOF |
|
895 | 922 | $ rt test-cases.t |
|
923 | running 2 tests using 1 parallel processes | |
|
896 | 924 | .. |
|
897 | 925 | # Ran 2 tests, 0 skipped, 0 failed. |
|
898 | 926 | |
@@ -911,6 +939,7 b' When using multiple dimensions of "#test' | |||
|
911 | 939 | > #endif |
|
912 | 940 | > EOF |
|
913 | 941 | $ rt test-cases.t |
|
942 | running 4 tests using 1 parallel processes | |
|
914 | 943 | .. |
|
915 | 944 | --- $TESTTMP/test-cases.t |
|
916 | 945 | +++ $TESTTMP/test-cases.t#b#c.err |
@@ -939,6 +968,7 b' No Diff' | |||
|
939 | 968 | =============== |
|
940 | 969 | |
|
941 | 970 | $ rt --nodiff |
|
971 | running 2 tests using 1 parallel processes | |
|
942 | 972 | !. |
|
943 | 973 | Failed test-failure.t: output changed |
|
944 | 974 | # Ran 2 tests, 0 skipped, 1 failed. |
@@ -947,6 +977,7 b' No Diff' | |||
|
947 | 977 | |
|
948 | 978 | test --tmpdir support |
|
949 | 979 | $ rt --tmpdir=$TESTTMP/keep test-success.t |
|
980 | running 1 tests using 1 parallel processes | |
|
950 | 981 | |
|
951 | 982 | Keeping testtmp dir: $TESTTMP/keep/child1/test-success.t |
|
952 | 983 | Keeping threadtmp dir: $TESTTMP/keep/child1 |
@@ -963,6 +994,7 b' timeouts' | |||
|
963 | 994 | > echo '#require slow' > test-slow-timeout.t |
|
964 | 995 | > cat test-timeout.t >> test-slow-timeout.t |
|
965 | 996 | $ rt --timeout=1 --slowtimeout=3 test-timeout.t test-slow-timeout.t |
|
997 | running 2 tests using 1 parallel processes | |
|
966 | 998 | st |
|
967 | 999 | Skipped test-slow-timeout.t: missing feature: allow slow tests (use --allow-slow-tests) |
|
968 | 1000 | Failed test-timeout.t: timed out |
@@ -971,6 +1003,7 b' timeouts' | |||
|
971 | 1003 | [1] |
|
972 | 1004 | $ rt --timeout=1 --slowtimeout=3 \ |
|
973 | 1005 | > test-timeout.t test-slow-timeout.t --allow-slow-tests |
|
1006 | running 2 tests using 1 parallel processes | |
|
974 | 1007 | .t |
|
975 | 1008 | Failed test-timeout.t: timed out |
|
976 | 1009 | # Ran 2 tests, 0 skipped, 1 failed. |
@@ -982,6 +1015,7 b' test for --time' | |||
|
982 | 1015 | ================== |
|
983 | 1016 | |
|
984 | 1017 | $ rt test-success.t --time |
|
1018 | running 1 tests using 1 parallel processes | |
|
985 | 1019 | . |
|
986 | 1020 | # Ran 1 tests, 0 skipped, 0 failed. |
|
987 | 1021 | # Producing time report |
@@ -992,6 +1026,7 b' test for --time with --job enabled' | |||
|
992 | 1026 | ==================================== |
|
993 | 1027 | |
|
994 | 1028 | $ rt test-success.t --time --jobs 2 |
|
1029 | running 1 tests using 1 parallel processes | |
|
995 | 1030 | . |
|
996 | 1031 | # Ran 1 tests, 0 skipped, 0 failed. |
|
997 | 1032 | # Producing time report |
@@ -1012,6 +1047,7 b' Skips' | |||
|
1012 | 1047 | > #endif |
|
1013 | 1048 | > EOF |
|
1014 | 1049 | $ rt --nodiff |
|
1050 | running 4 tests using 1 parallel processes | |
|
1015 | 1051 | !.s. |
|
1016 | 1052 | Skipped test-skip.t: missing feature: nail clipper |
|
1017 | 1053 | Failed test-failure.t: output changed |
@@ -1021,6 +1057,7 b' Skips' | |||
|
1021 | 1057 | |
|
1022 | 1058 | $ rm test-noskip.t |
|
1023 | 1059 | $ rt --keyword xyzzy |
|
1060 | running 3 tests using 1 parallel processes | |
|
1024 | 1061 | .s |
|
1025 | 1062 | Skipped test-skip.t: missing feature: nail clipper |
|
1026 | 1063 | # Ran 2 tests, 2 skipped, 0 failed. |
@@ -1028,6 +1065,7 b' Skips' | |||
|
1028 | 1065 | Skips with xml |
|
1029 | 1066 | $ rt --keyword xyzzy \ |
|
1030 | 1067 | > --xunit=xunit.xml |
|
1068 | running 3 tests using 1 parallel processes | |
|
1031 | 1069 | .s |
|
1032 | 1070 | Skipped test-skip.t: missing feature: nail clipper |
|
1033 | 1071 | # Ran 2 tests, 2 skipped, 0 failed. |
@@ -1045,6 +1083,7 b" Missing skips or blacklisted skips don't" | |||
|
1045 | 1083 | $ echo test-failure.t > blacklist |
|
1046 | 1084 | $ rt --blacklist=blacklist --json\ |
|
1047 | 1085 | > test-failure.t test-bogus.t |
|
1086 | running 2 tests using 1 parallel processes | |
|
1048 | 1087 | ss |
|
1049 | 1088 | Skipped test-bogus.t: Doesn't exist |
|
1050 | 1089 | Skipped test-failure.t: blacklisted |
@@ -1063,6 +1102,7 b' Whitelist trumps blacklist' | |||
|
1063 | 1102 | $ echo test-failure.t > whitelist |
|
1064 | 1103 | $ rt --blacklist=blacklist --whitelist=whitelist --json\ |
|
1065 | 1104 | > test-failure.t test-bogus.t |
|
1105 | running 2 tests using 1 parallel processes | |
|
1066 | 1106 | s |
|
1067 | 1107 | --- $TESTTMP/test-failure.t |
|
1068 | 1108 | +++ $TESTTMP/test-failure.t.err |
@@ -1086,10 +1126,12 b' Ensure that --test-list causes only the ' | |||
|
1086 | 1126 | be executed. |
|
1087 | 1127 | $ echo test-success.t >> onlytest |
|
1088 | 1128 | $ rt --test-list=onlytest |
|
1129 | running 1 tests using 1 parallel processes | |
|
1089 | 1130 | . |
|
1090 | 1131 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1091 | 1132 | $ echo test-bogus.t >> anothertest |
|
1092 | 1133 | $ rt --test-list=onlytest --test-list=anothertest |
|
1134 | running 2 tests using 1 parallel processes | |
|
1093 | 1135 | s. |
|
1094 | 1136 | Skipped test-bogus.t: Doesn't exist |
|
1095 | 1137 | # Ran 1 tests, 1 skipped, 0 failed. |
@@ -1099,6 +1141,7 b' test for --json' | |||
|
1099 | 1141 | ================== |
|
1100 | 1142 | |
|
1101 | 1143 | $ rt --json |
|
1144 | running 3 tests using 1 parallel processes | |
|
1102 | 1145 | |
|
1103 | 1146 | --- $TESTTMP/test-failure.t |
|
1104 | 1147 | +++ $TESTTMP/test-failure.t.err |
@@ -1154,6 +1197,7 b' test for --json' | |||
|
1154 | 1197 | $ rm -r output |
|
1155 | 1198 | $ mkdir output |
|
1156 | 1199 | $ rt --json --outputdir output |
|
1200 | running 3 tests using 1 parallel processes | |
|
1157 | 1201 | |
|
1158 | 1202 | --- $TESTTMP/test-failure.t |
|
1159 | 1203 | +++ $TESTTMP/output/test-failure.t.err |
@@ -1215,6 +1259,7 b' Test that failed test accepted through i' | |||
|
1215 | 1259 | |
|
1216 | 1260 | $ cp test-failure.t backup |
|
1217 | 1261 | $ echo y | rt --json -i |
|
1262 | running 3 tests using 1 parallel processes | |
|
1218 | 1263 | |
|
1219 | 1264 | --- $TESTTMP/test-failure.t |
|
1220 | 1265 | +++ $TESTTMP/test-failure.t.err |
@@ -1269,6 +1314,7 b' backslash on end of line with glob match' | |||
|
1269 | 1314 | > EOF |
|
1270 | 1315 | |
|
1271 | 1316 | $ rt test-glob-backslash.t |
|
1317 | running 1 tests using 1 parallel processes | |
|
1272 | 1318 | . |
|
1273 | 1319 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1274 | 1320 | |
@@ -1284,6 +1330,7 b' Add support for external test formatter' | |||
|
1284 | 1330 | ======================================= |
|
1285 | 1331 | |
|
1286 | 1332 | $ CUSTOM_TEST_RESULT=basic_test_result "$PYTHON" $TESTDIR/run-tests.py --with-hg=`which hg` "$@" test-success.t test-failure.t |
|
1333 | running 2 tests using 1 parallel processes | |
|
1287 | 1334 | |
|
1288 | 1335 | # Ran 2 tests, 0 skipped, 0 failed. |
|
1289 | 1336 | ON_START! <__main__.TestSuite tests=[<__main__.TTest testMethod=test-failure.t>, <__main__.TTest testMethod=test-success.t>]> |
@@ -1306,6 +1353,7 b' Mercurial source tree.' | |||
|
1306 | 1353 | > foo |
|
1307 | 1354 | > EOF |
|
1308 | 1355 | $ rt test-hghave.t |
|
1356 | running 1 tests using 1 parallel processes | |
|
1309 | 1357 | . |
|
1310 | 1358 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1311 | 1359 | |
@@ -1334,6 +1382,7 b' running is placed.' | |||
|
1334 | 1382 | > # check-code - a style and portability checker for Mercurial |
|
1335 | 1383 | > EOF |
|
1336 | 1384 | $ rt test-runtestdir.t |
|
1385 | running 1 tests using 1 parallel processes | |
|
1337 | 1386 | . |
|
1338 | 1387 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1339 | 1388 | |
@@ -1351,6 +1400,7 b' test that TESTDIR is referred in PATH' | |||
|
1351 | 1400 | > hello world |
|
1352 | 1401 | > EOF |
|
1353 | 1402 | $ rt test-testdir-path.t |
|
1403 | running 1 tests using 1 parallel processes | |
|
1354 | 1404 | . |
|
1355 | 1405 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1356 | 1406 | |
@@ -1363,10 +1413,12 b' test support for --allow-slow-tests' | |||
|
1363 | 1413 | > pass |
|
1364 | 1414 | > EOF |
|
1365 | 1415 | $ rt test-very-slow-test.t |
|
1416 | running 1 tests using 1 parallel processes | |
|
1366 | 1417 | s |
|
1367 | 1418 | Skipped test-very-slow-test.t: missing feature: allow slow tests (use --allow-slow-tests) |
|
1368 | 1419 | # Ran 0 tests, 1 skipped, 0 failed. |
|
1369 | 1420 | $ rt $HGTEST_RUN_TESTS_PURE --allow-slow-tests test-very-slow-test.t |
|
1421 | running 1 tests using 1 parallel processes | |
|
1370 | 1422 | . |
|
1371 | 1423 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1372 | 1424 | |
@@ -1377,6 +1429,7 b' support for running a test outside the c' | |||
|
1377 | 1429 | > pass |
|
1378 | 1430 | > EOF |
|
1379 | 1431 | $ rt nonlocal/test-is-not-here.t |
|
1432 | running 1 tests using 1 parallel processes | |
|
1380 | 1433 | . |
|
1381 | 1434 | # Ran 1 tests, 0 skipped, 0 failed. |
|
1382 | 1435 | |
@@ -1394,6 +1447,7 b' support for automatically discovering te' | |||
|
1394 | 1447 | $ cp tmp/test-uno.t test-solo.t |
|
1395 | 1448 | |
|
1396 | 1449 | $ rt tmp/ test-solo.t tmpp |
|
1450 | running 5 tests using 1 parallel processes | |
|
1397 | 1451 | ..... |
|
1398 | 1452 | # Ran 5 tests, 0 skipped, 0 failed. |
|
1399 | 1453 | $ rm -rf tmp tmpp |
@@ -1417,6 +1471,7 b' support for running run-tests.py from an' | |||
|
1417 | 1471 | |
|
1418 | 1472 | $ cd .. |
|
1419 | 1473 | $ rt tmp/test-*.t |
|
1474 | running 2 tests using 1 parallel processes | |
|
1420 | 1475 | |
|
1421 | 1476 | --- $TESTTMP/anothertests/tmp/test-folder-fail.t |
|
1422 | 1477 | +++ $TESTTMP/anothertests/tmp/test-folder-fail.t.err |
@@ -1447,6 +1502,7 b' support for bisecting failed tests autom' | |||
|
1447 | 1502 | > EOF |
|
1448 | 1503 | $ hg ci -m 'bad' |
|
1449 | 1504 | $ rt --known-good-rev=0 test-bisect.t |
|
1505 | running 1 tests using 1 parallel processes | |
|
1450 | 1506 | |
|
1451 | 1507 | --- $TESTTMP/anothertests/bisect/test-bisect.t |
|
1452 | 1508 | +++ $TESTTMP/anothertests/bisect/test-bisect.t.err |
@@ -1478,6 +1534,7 b' support bisecting a separate repo' | |||
|
1478 | 1534 | $ hg commit -Am dependent test-bisect-dependent.t |
|
1479 | 1535 | |
|
1480 | 1536 | $ rt --known-good-rev=0 test-bisect-dependent.t |
|
1537 | running 1 tests using 1 parallel processes | |
|
1481 | 1538 | |
|
1482 | 1539 | --- $TESTTMP/anothertests/bisect-dependent/test-bisect-dependent.t |
|
1483 | 1540 | +++ $TESTTMP/anothertests/bisect-dependent/test-bisect-dependent.t.err |
@@ -1500,6 +1557,7 b' support bisecting a separate repo' | |||
|
1500 | 1557 | [2] |
|
1501 | 1558 | |
|
1502 | 1559 | $ rt --known-good-rev=0 --bisect-repo=../bisect test-bisect-dependent.t |
|
1560 | running 1 tests using 1 parallel processes | |
|
1503 | 1561 | |
|
1504 | 1562 | --- $TESTTMP/anothertests/bisect-dependent/test-bisect-dependent.t |
|
1505 | 1563 | +++ $TESTTMP/anothertests/bisect-dependent/test-bisect-dependent.t.err |
@@ -1535,6 +1593,7 b" Test a broken #if statement doesn't brea" | |||
|
1535 | 1593 | > EOF |
|
1536 | 1594 | > done |
|
1537 | 1595 | $ rt -j 2 |
|
1596 | running 5 tests using 2 parallel processes | |
|
1538 | 1597 | .... |
|
1539 | 1598 | # Ran 5 tests, 0 skipped, 0 failed. |
|
1540 | 1599 | skipped: unknown feature: notarealhghavefeature |
@@ -1572,6 +1631,7 b' Test cases in .t files' | |||
|
1572 | 1631 | > [1] |
|
1573 | 1632 | > EOF |
|
1574 | 1633 | $ rt |
|
1634 | running 3 tests using 1 parallel processes | |
|
1575 | 1635 | . |
|
1576 | 1636 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1577 | 1637 | +++ $TESTTMP/anothertests/cases/test-cases-abc.t#B.err |
@@ -1595,6 +1655,7 b' Test cases in .t files' | |||
|
1595 | 1655 | --restart works |
|
1596 | 1656 | |
|
1597 | 1657 | $ rt --restart |
|
1658 | running 2 tests using 1 parallel processes | |
|
1598 | 1659 | |
|
1599 | 1660 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1600 | 1661 | +++ $TESTTMP/anothertests/cases/test-cases-abc.t#B.err |
@@ -1620,6 +1681,7 b' Test cases in .t files' | |||
|
1620 | 1681 | $ mkdir output |
|
1621 | 1682 | $ mv test-cases-abc.t#B.err output |
|
1622 | 1683 | $ rt --restart --outputdir output |
|
1684 | running 2 tests using 1 parallel processes | |
|
1623 | 1685 | |
|
1624 | 1686 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1625 | 1687 | +++ $TESTTMP/anothertests/cases/output/test-cases-abc.t#B.err |
@@ -1657,12 +1719,14 b' Test TESTCASE variable' | |||
|
1657 | 1719 | > #endif |
|
1658 | 1720 | > EOF |
|
1659 | 1721 | $ rt test-cases-ab.t |
|
1722 | running 2 tests using 1 parallel processes | |
|
1660 | 1723 | .. |
|
1661 | 1724 | # Ran 2 tests, 0 skipped, 0 failed. |
|
1662 | 1725 | |
|
1663 | 1726 | Support running a specific test case |
|
1664 | 1727 | |
|
1665 | 1728 | $ rt "test-cases-abc.t#B" |
|
1729 | running 1 tests using 1 parallel processes | |
|
1666 | 1730 | |
|
1667 | 1731 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1668 | 1732 | +++ $TESTTMP/anothertests/cases/test-cases-abc.t#B.err |
@@ -1686,6 +1750,7 b' Support running a specific test case' | |||
|
1686 | 1750 | Support running multiple test cases in the same file |
|
1687 | 1751 | |
|
1688 | 1752 | $ rt test-cases-abc.t#B test-cases-abc.t#C |
|
1753 | running 2 tests using 1 parallel processes | |
|
1689 | 1754 | |
|
1690 | 1755 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1691 | 1756 | +++ $TESTTMP/anothertests/cases/test-cases-abc.t#B.err |
@@ -1709,6 +1774,7 b' Support running multiple test cases in t' | |||
|
1709 | 1774 | Support ignoring invalid test cases |
|
1710 | 1775 | |
|
1711 | 1776 | $ rt test-cases-abc.t#B test-cases-abc.t#D |
|
1777 | running 1 tests using 1 parallel processes | |
|
1712 | 1778 | |
|
1713 | 1779 | --- $TESTTMP/anothertests/cases/test-cases-abc.t |
|
1714 | 1780 | +++ $TESTTMP/anothertests/cases/test-cases-abc.t#B.err |
@@ -1743,6 +1809,7 b' Support running complex test cases names' | |||
|
1743 | 1809 | simple |
|
1744 | 1810 | |
|
1745 | 1811 | $ rt test-cases-advanced-cases.t |
|
1812 | running 3 tests using 1 parallel processes | |
|
1746 | 1813 | |
|
1747 | 1814 | --- $TESTTMP/anothertests/cases/test-cases-advanced-cases.t |
|
1748 | 1815 | +++ $TESTTMP/anothertests/cases/test-cases-advanced-cases.t#case-with-dashes.err |
@@ -1771,6 +1838,7 b' Support running complex test cases names' | |||
|
1771 | 1838 | [1] |
|
1772 | 1839 | |
|
1773 | 1840 | $ rt "test-cases-advanced-cases.t#case-with-dashes" |
|
1841 | running 1 tests using 1 parallel processes | |
|
1774 | 1842 | |
|
1775 | 1843 | --- $TESTTMP/anothertests/cases/test-cases-advanced-cases.t |
|
1776 | 1844 | +++ $TESTTMP/anothertests/cases/test-cases-advanced-cases.t#case-with-dashes.err |
@@ -1788,6 +1856,7 b' Support running complex test cases names' | |||
|
1788 | 1856 | [1] |
|
1789 | 1857 | |
|
1790 | 1858 | $ rt "test-cases-advanced-cases.t#casewith_-.chars" |
|
1859 | running 1 tests using 1 parallel processes | |
|
1791 | 1860 | |
|
1792 | 1861 | --- $TESTTMP/anothertests/cases/test-cases-advanced-cases.t |
|
1793 | 1862 | +++ $TESTTMP/anothertests/cases/test-cases-advanced-cases.t#casewith_-.chars.err |
@@ -1829,6 +1898,7 b' Test automatic pattern replacement' | |||
|
1829 | 1898 | > EOF |
|
1830 | 1899 | |
|
1831 | 1900 | $ rt test-substitution.t |
|
1901 | running 1 tests using 1 parallel processes | |
|
1832 | 1902 | |
|
1833 | 1903 | --- $TESTTMP/anothertests/cases/test-substitution.t |
|
1834 | 1904 | +++ $TESTTMP/anothertests/cases/test-substitution.t.err |
@@ -1853,5 +1923,6 b' Test automatic pattern replacement' | |||
|
1853 | 1923 | > EOF |
|
1854 | 1924 | |
|
1855 | 1925 | $ rt --extra-config-opt extensions.purge= test-config-opt.t |
|
1926 | running 1 tests using 1 parallel processes | |
|
1856 | 1927 | . |
|
1857 | 1928 | # Ran 1 tests, 0 skipped, 0 failed. |
General Comments 0
You need to be logged in to leave comments.
Login now