tests/test-run-tests.t
branchstable
changeset 52186 7a149cf41398
parent 52181 36e4d1457c6b
child 52187 00cdec2398ee
equal deleted inserted replaced
52185:4496f059cf5c 52186:7a149cf41398
  2105   [2]
  2105   [2]
  2106   $ rt --shard-index 10 --shard-total 5
  2106   $ rt --shard-index 10 --shard-total 5
  2107   usage: run-tests.py [options] [tests]
  2107   usage: run-tests.py [options] [tests]
  2108   run-tests.py: error: --shard-index must be <= than --shard-total (10 not in [1,5])
  2108   run-tests.py: error: --shard-index must be <= than --shard-total (10 not in [1,5])
  2109   [2]
  2109   [2]
  2110   $ rt --shard-index 1 --shard-total 5
  2110   $ rt --list-tests --shard-index 1 --shard-total 5
  2111   running 3 tests using 1 parallel processes 
  2111   test-cases-abc.t
  2112   s
  2112   test-cases-advanced-cases.t#case-with-dashes
  2113   --- $TESTTMP/anothertests/cases/test-conditional-matching.t
  2113   test-conditional-matching.t#foo
  2114   +++ $TESTTMP/anothertests/cases/test-conditional-matching.t#foo.err
       
  2115   @@ -3,11 +3,14 @@
       
  2116      richtig \(true !\) (re)
       
  2117      $ echo falsch
       
  2118      falsch \(false !\) (re)
       
  2119   +  falsch
       
  2120    #if foo
       
  2121      $ echo arthur
       
  2122      arthur \(bar !\) (re)
       
  2123   +  arthur
       
  2124    #endif
       
  2125      $ echo celeste
       
  2126      celeste \(foo !\) (re)
       
  2127      $ echo zephir
       
  2128      zephir \(bar !\) (re)
       
  2129   +  zephir
       
  2130   
       
  2131   ERROR: test-conditional-matching.t#foo output changed
       
  2132   !
       
  2133   --- $TESTTMP/anothertests/cases/test-cases-advanced-cases.t
       
  2134   +++ $TESTTMP/anothertests/cases/test-cases-advanced-cases.t#case-with-dashes.err
       
  2135   @@ -1,3 +1,3 @@
       
  2136    #testcases simple case-with-dashes casewith_-.chars
       
  2137      $ echo $TESTCASE
       
  2138   -  simple
       
  2139   +  case-with-dashes
       
  2140   
       
  2141   ERROR: test-cases-advanced-cases.t#case-with-dashes output changed
       
  2142   !
       
  2143   Skipped test-cases-abc.t: Doesn't exist
       
  2144   Failed test-cases-advanced-cases.t#case-with-dashes: output changed
       
  2145   Failed test-conditional-matching.t#foo: output changed
       
  2146   # Ran 2 tests, 1 skipped, 2 failed.
       
  2147   python hash seed: * (glob)
       
  2148   [1]
       
  2149   $ rt --shard-index 6 --shard-total 5
  2114   $ rt --shard-index 6 --shard-total 5
  2150   usage: run-tests.py [options] [tests]
  2115   usage: run-tests.py [options] [tests]
  2151   run-tests.py: error: --shard-index must be <= than --shard-total (6 not in [1,5])
  2116   run-tests.py: error: --shard-index must be <= than --shard-total (6 not in [1,5])
  2152   [2]
  2117   [2]
  2153   $ rt --shard-index 5 --shard-total 5
  2118   $ rt --list-tests --shard-index 5 --shard-total 5
  2154   running 3 tests using 1 parallel processes 
  2119   test-conditional-matching.t#bar
  2155   
  2120   test-py.py
  2156   --- $TESTTMP/anothertests/cases/test-conditional-matching.t
  2121   test-substitution.t
  2157   +++ $TESTTMP/anothertests/cases/test-conditional-matching.t#bar.err
       
  2158   @@ -3,11 +3,13 @@
       
  2159      richtig \(true !\) (re)
       
  2160      $ echo falsch
       
  2161      falsch \(false !\) (re)
       
  2162   +  falsch
       
  2163    #if foo
       
  2164      $ echo arthur
       
  2165      arthur \(bar !\) (re)
       
  2166    #endif
       
  2167      $ echo celeste
       
  2168      celeste \(foo !\) (re)
       
  2169   +  celeste
       
  2170      $ echo zephir
       
  2171      zephir \(bar !\) (re)
       
  2172   
       
  2173   ERROR: test-conditional-matching.t#bar output changed
       
  2174   !
       
  2175   --- $TESTTMP/anothertests/cases/test-substitution.t
       
  2176   +++ $TESTTMP/anothertests/cases/test-substitution.t.err
       
  2177   @@ -7,3 +7,4 @@
       
  2178      $ echo lastbar
       
  2179      last$YYY$
       
  2180      $ echo foo-bar foo-baz
       
  2181   +  $XXX=bar foo-baz$
       
  2182   
       
  2183   ERROR: test-substitution.t output changed
       
  2184   !
       
  2185   --- $TESTTMP/anothertests/cases/test-py.py.out
       
  2186   +++ $TESTTMP/anothertests/cases/test-py.py.err
       
  2187   @@ -0,0 +1* @@ (glob)
       
  2188   +3.* (glob)
       
  2189   
       
  2190   ERROR: test-py.py output changed
       
  2191   !
       
  2192   Failed test-conditional-matching.t#bar: output changed
       
  2193   Failed test-py.py: output changed
       
  2194   Failed test-substitution.t: output changed
       
  2195   # Ran 3 tests, 0 skipped, 3 failed.
       
  2196   python hash seed: * (glob)
       
  2197   [1]