tests/run-tests.py
branchstable
changeset 1337 6810b3c166cc
parent 1336 c213fb7b786f
child 1338 a1bbad0e5e24
equal deleted inserted replaced
1336:c213fb7b786f 1337:6810b3c166cc
  1165         failed = True
  1165         failed = True
  1166         print "\ninterrupted!"
  1166         print "\ninterrupted!"
  1167 
  1167 
  1168     if failed:
  1168     if failed:
  1169         return 1
  1169         return 1
       
  1170     if warned:
       
  1171         return 80
  1170 
  1172 
  1171 testtypes = [('.py', pytest, '.out'),
  1173 testtypes = [('.py', pytest, '.out'),
  1172              ('.t', tsttest, '')]
  1174              ('.t', tsttest, '')]
  1173 
  1175 
  1174 def main():
  1176 def main():