comparison tests/run-tests.py @ 27101:61fbf5dc12b2

test-contrib-perf: add smoke tests for perf.py
author timeless <timeless@mozdev.org>
date Tue, 24 Nov 2015 21:41:12 +0000
parents a38924f7680c
children a4e3dec3010e
comparison
equal deleted inserted replaced
27100:8d5dba93aa4f 27101:61fbf5dc12b2
1724 else: 1724 else:
1725 # keywords for slow tests 1725 # keywords for slow tests
1726 slow = {b'svn': 10, 1726 slow = {b'svn': 10,
1727 b'gendoc': 10, 1727 b'gendoc': 10,
1728 b'check-code-hg': 100, 1728 b'check-code-hg': 100,
1729 b'contrib-perf': 200,
1729 } 1730 }
1730 def sortkey(f): 1731 def sortkey(f):
1731 # run largest tests first, as they tend to take the longest 1732 # run largest tests first, as they tend to take the longest
1732 try: 1733 try:
1733 val = -os.stat(f).st_size 1734 val = -os.stat(f).st_size