comparison tests/test-run-tests.t @ 27393:a40b623e6380

run-tests: report timeouts in a less alarming fashion Rather than report timed-out tests like this: ERROR: test-convert-svn-sink.t output changed ! ..simply put a 't' rather than a '.' in the stream.
author Matt Mackall <mpm@selenic.com>
date Fri, 04 Dec 2015 14:55:10 -0600
parents a4e3dec3010e
children 0622d6e134fb
comparison
equal deleted inserted replaced
27391:4eeef1b2d689 27393:a40b623e6380
410 > EOF 410 > EOF
411 > echo '#require slow' > test-slow-timeout.t 411 > echo '#require slow' > test-slow-timeout.t
412 > cat test-timeout.t >> test-slow-timeout.t 412 > cat test-timeout.t >> test-slow-timeout.t
413 $ run-tests.py --with-hg=`which hg` --timeout=1 --slowtimeout=3 \ 413 $ run-tests.py --with-hg=`which hg` --timeout=1 --slowtimeout=3 \
414 > test-timeout.t test-slow-timeout.t 414 > test-timeout.t test-slow-timeout.t
415 s 415 st
416 ERROR: test-timeout.t output changed
417 !
418 Skipped test-slow-timeout.t: skipped 416 Skipped test-slow-timeout.t: skipped
419 Failed test-timeout.t: timed out 417 Failed test-timeout.t: timed out
420 # Ran 1 tests, 1 skipped, 0 warned, 1 failed. 418 # Ran 1 tests, 1 skipped, 0 warned, 1 failed.
421 python hash seed: * (glob) 419 python hash seed: * (glob)
422 [1] 420 [1]
423 $ run-tests.py --with-hg=`which hg` --timeout=1 --slowtimeout=3 \ 421 $ run-tests.py --with-hg=`which hg` --timeout=1 --slowtimeout=3 \
424 > test-timeout.t test-slow-timeout.t --allow-slow-tests 422 > test-timeout.t test-slow-timeout.t --allow-slow-tests
425 . 423 .t
426 ERROR: test-timeout.t output changed
427 !
428 Failed test-timeout.t: timed out 424 Failed test-timeout.t: timed out
429 # Ran 2 tests, 0 skipped, 0 warned, 1 failed. 425 # Ran 2 tests, 0 skipped, 0 warned, 1 failed.
430 python hash seed: * (glob) 426 python hash seed: * (glob)
431 [1] 427 [1]
432 $ rm test-timeout.t test-slow-timeout.t 428 $ rm test-timeout.t test-slow-timeout.t