view tests/test-run-tests.t @ 21734:34e0bd895afc

test-run-tests.t: test running a passing test
author Pierre-Yves David <pierre-yves.david@fb.com>
date Fri, 30 May 2014 12:10:19 -0700
parents b6192ea7f7fd
children 7ec3b32b98bb
line wrap: on
line source

This file tests the behavior of run-tests.py itself.

Smoke test
============

  $ $TESTDIR/run-tests.py
  
  # Ran 0 tests, 0 skipped, 0 warned, 0 failed.

a succesful test
=======================

  $ cat > test-success.t << EOF
  >   $ echo babar
  >   babar
  > EOF

  $ $TESTDIR/run-tests.py --with-hg=`which hg`
  .
  # Ran 1 tests, 0 skipped, 0 warned, 0 failed.