tests/test-requires.t
author Siddharth Agarwal <sid0@fb.com>
Fri, 09 Nov 2012 14:49:30 -0800
changeset 17921 4ac9cf3d810c
parent 16913 f2719b387380
child 19778 55ef79031009
permissions -rw-r--r--
run-tests: add --time option to log times for each test --time also prints out the wall-clock time each test takes in descending order.

  $ hg init t
  $ cd t
  $ echo a > a
  $ hg add a
  $ hg commit -m test
  $ rm .hg/requires
  $ hg tip
  abort: index 00changelog.i unknown format 2!
  [255]
  $ echo indoor-pool > .hg/requires
  $ hg tip
  abort: unknown repository format: requires features 'indoor-pool' (upgrade Mercurial)!
  [255]
  $ echo outdoor-pool >> .hg/requires
  $ hg tip
  abort: unknown repository format: requires features 'indoor-pool', 'outdoor-pool' (upgrade Mercurial)!
  [255]

  $ cd ..