tests/run-tests.py
changeset 28096 62ef44273678
parent 28055 92e8e3f20a6f
child 28097 81eee5786174
equal deleted inserted replaced
28095:7fa139eaebb4 28096:62ef44273678
  1876                         perf[f] = -1e9 # file does not exist, tell early
  1876                         perf[f] = -1e9 # file does not exist, tell early
  1877                         return -1e9
  1877                         return -1e9
  1878                     for kw, mul in slow.items():
  1878                     for kw, mul in slow.items():
  1879                         if kw in f:
  1879                         if kw in f:
  1880                             val *= mul
  1880                             val *= mul
  1881                     if f.endswith('.py'):
  1881                     if f.endswith(b'.py'):
  1882                         val /= 10.0
  1882                         val /= 10.0
  1883                     perf[f] = val / 1000.0
  1883                     perf[f] = val / 1000.0
  1884                     return perf[f]
  1884                     return perf[f]
  1885             tests.sort(key=sortkey)
  1885             tests.sort(key=sortkey)
  1886 
  1886