tests/test-run-tests.t
changeset 34263 1533371769b5
parent 34041 40313c63da87
child 34842 8bce3e51b101
equal deleted inserted replaced
34262:68c96a552c84 34263:1533371769b5
   978   Skipped test-bogus.t: Doesn't exist
   978   Skipped test-bogus.t: Doesn't exist
   979   Failed test-failure.t: output changed
   979   Failed test-failure.t: output changed
   980   # Ran 1 tests, 1 skipped, 1 failed.
   980   # Ran 1 tests, 1 skipped, 1 failed.
   981   python hash seed: * (glob)
   981   python hash seed: * (glob)
   982   [1]
   982   [1]
       
   983 
       
   984 Ensure that --test-list causes only the tests listed in that file to
       
   985 be executed.
       
   986   $ echo test-success.t >> onlytest
       
   987   $ rt --test-list=onlytest
       
   988   .
       
   989   # Ran 1 tests, 0 skipped, 0 failed.
       
   990   $ echo test-bogus.t >> anothertest
       
   991   $ rt --test-list=onlytest --test-list=anothertest
       
   992   s.
       
   993   Skipped test-bogus.t: Doesn't exist
       
   994   # Ran 1 tests, 1 skipped, 0 failed.
       
   995   $ rm onlytest anothertest
   983 
   996 
   984 test for --json
   997 test for --json
   985 ==================
   998 ==================
   986 
   999 
   987   $ rt --json
  1000   $ rt --json