Bug 856246 - support specifying thread count in jit-test metalines. r=terrence

This commit is contained in:
Till Schneidereit 2013-04-24 15:46:37 +01:00
parent 8125daee22
commit cbcc26a5b0

View File

@ -114,6 +114,11 @@ class Test:
test.expect_status = int(value, 0);
except ValueError:
print("warning: couldn't parse exit status %s" % value)
elif name == 'thread-count':
try:
test.jitflags.append('--thread-count=' + int(value, 0));
except ValueError:
print("warning: couldn't parse thread-count %s" % value)
else:
print('warning: unrecognized |jit-test| attribute %s' % part)
else: