Home | History | Annotate | Download | only in bisection_search

Lines Matching defs:Test

22 ./bisection-search.py -cp classes.dex --expected-output output Test
99 def Test(self, compiled_methods, passes_to_run=None):
110 True if test passes with given settings. False otherwise.
125 print('Test passed: {0}.'.format(res))
129 """Get methods compiled during the test.
132 List of strings representing methods compiled during the test.
146 """Get all optimization passes ran for a method during the test.
152 List of strings representing passes ran for compiled_method during test.
250 def BinarySearch(start, end, test):
251 """Binary search integers using test function to guide the process."""
254 if test(mid):
275 exposes test failure. Second element is name of optimization pass such that
277 results in test passing but running all passes up to and including the pass
278 results in test failing.
280 (None, None) if test passes when compiling all methods.
293 lambda mid: testable.Test(all_methods[0:mid]))
303 lambda mid: testable.Test([faulty_method],
328 metavar='ARG', help='argument passed to test')
353 help='if timeout seconds pass assume test failed')
360 """Prepares base command used to run test."""
417 if testable.Test(compiled_methods=[]):