comparison tests/test-run-tests.t @ 32474:c2b7fb580794

tests: hint how to run slow tests when rejecting
author Kyle Lippincott <spectral@google.com>
date Fri, 26 May 2017 14:52:54 -0700
parents 7340465bd788
children 931bb962e0eb
comparison
equal deleted inserted replaced
32473:7a7c3369ee26 32474:c2b7fb580794
553 > EOF 553 > EOF
554 > echo '#require slow' > test-slow-timeout.t 554 > echo '#require slow' > test-slow-timeout.t
555 > cat test-timeout.t >> test-slow-timeout.t 555 > cat test-timeout.t >> test-slow-timeout.t
556 $ rt --timeout=1 --slowtimeout=3 test-timeout.t test-slow-timeout.t 556 $ rt --timeout=1 --slowtimeout=3 test-timeout.t test-slow-timeout.t
557 st 557 st
558 Skipped test-slow-timeout.t: missing feature: allow slow tests 558 Skipped test-slow-timeout.t: missing feature: allow slow tests (use --allow-slow-tests)
559 Failed test-timeout.t: timed out 559 Failed test-timeout.t: timed out
560 # Ran 1 tests, 1 skipped, 0 warned, 1 failed. 560 # Ran 1 tests, 1 skipped, 0 warned, 1 failed.
561 python hash seed: * (glob) 561 python hash seed: * (glob)
562 [1] 562 [1]
563 $ rt --timeout=1 --slowtimeout=3 \ 563 $ rt --timeout=1 --slowtimeout=3 \
850 > $ echo pass 850 > $ echo pass
851 > pass 851 > pass
852 > EOF 852 > EOF
853 $ rt test-very-slow-test.t 853 $ rt test-very-slow-test.t
854 s 854 s
855 Skipped test-very-slow-test.t: missing feature: allow slow tests 855 Skipped test-very-slow-test.t: missing feature: allow slow tests (use --allow-slow-tests)
856 # Ran 0 tests, 1 skipped, 0 warned, 0 failed. 856 # Ran 0 tests, 1 skipped, 0 warned, 0 failed.
857 $ rt $HGTEST_RUN_TESTS_PURE --allow-slow-tests test-very-slow-test.t 857 $ rt $HGTEST_RUN_TESTS_PURE --allow-slow-tests test-very-slow-test.t
858 . 858 .
859 # Ran 1 tests, 0 skipped, 0 warned, 0 failed. 859 # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
860 860