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.
246 def BinarySearch(start, end, test):
247 """Binary search integers using test function to guide the process."""
250 if test(mid):
271 exposes test failure. Second element is name of optimization pass such that
273 results in test passing but running all passes up to and including the pass
274 results in test failing.
276 (None, None) if test passes when compiling all methods.
289 lambda mid: testable.Test(all_methods[0:mid]))
299 lambda mid: testable.Test([faulty_method],
324 metavar='ARG', help='argument passed to test')
349 help='if timeout seconds pass assume test failed')
356 """Prepares base command used to run test."""
413 if testable.Test(compiled_methods=[]):