Home
last modified time | relevance | path

Searched refs:TEST_STAGE (Results 1 – 7 of 7) sorted by relevance

/external/toolchain-utils/bestflags/
Dpipeline_process_test.py20 TEST_STAGE = -8 variable
26 assert stage == TEST_STAGE
38 result_queue.put(('helper', task.GetIdentifier(TEST_STAGE)))
42 assert stage == TEST_STAGE
43 result_queue.put(('worker', task.GetIdentifier(TEST_STAGE)))
65 2, 'testing', {}, TEST_STAGE, inp, MockHelper, MockWorker, output)
68 inp.put(MockTask(TEST_STAGE, 1))
69 inp.put(MockTask(TEST_STAGE, 1))
70 inp.put(MockTask(TEST_STAGE, 2))
Dpipeline_worker_test.py23 TEST_STAGE = -3 variable
54 args=(TEST_STAGE, {}, helper_queue, completed_queue, result_queue))
72 helper_queue.put(MockTask(TEST_STAGE, result, MockTaskCostGenerator()))
83 identifier = task.GetIdentifier(TEST_STAGE)
86 self.assertTrue(task.GetResult(TEST_STAGE), mock_result[identifier])
106 mock_tasks.append(MockTask(TEST_STAGE, flag, cost))
110 pipeline_worker.Worker(TEST_STAGE, mock_task, completed_queue,
118 self.assertTrue(output.Done(TEST_STAGE))
Dtask_test.py131 identifier = result_task.GetIdentifier(task.TEST_STAGE)
138 result_task.SetResult(task.TEST_STAGE, random_test_result)
139 test_result = result_task.GetResult(task.TEST_STAGE)
156 assert not work_task.Done(task.TEST_STAGE)
163 assert not work_task.Done(task.TEST_STAGE)
168 work_task.SetResult(task.TEST_STAGE, random.randint(0, RANDOM_TESTRESULT))
169 assert work_task.Done(task.TEST_STAGE)
Dgeneration_test.py18 TEST_STAGE = -125 variable
49 tasks = [IdentifierMockTask(TEST_STAGE, t) for t in testing_tasks]
64 gen.UpdateTask(IdentifierMockTask(TEST_STAGE, testing_task))
Dtask.py23 TEST_STAGE = 2 variable
140 TEST_STAGE: self.__GetCheckSum}
156 TEST_STAGE: self.GetTestResult}
175 TEST_STAGE: self.__SetTestResult}
191 done_string = {BUILD_STAGE: self._build_cost, TEST_STAGE: self._exe_cost}
205 work_functions = {BUILD_STAGE: self.__Compile, TEST_STAGE: self.__Test}
Dexample_algorithms.py27 from task import TEST_STAGE
170 test_process = PipelineProcess(num_testers, 'tester', {}, TEST_STAGE,
Dtesting_batch.py30 from task import TEST_STAGE
316 task.SetResult(TEST_STAGE, task_result)