Lines Matching refs:work_dir
258 def __init__(self, work_dir, test_dir, adb): argument
266 self._work_dir = work_dir
557 def _local_run(args, work_dir): argument
564 print('Logs and simpleperf results will be copied to: ' + work_dir)
586 dependency_collector = DeqpDependencyCollector(work_dir, test_dir, adb)
591 os.path.join(work_dir, 'dEQP-dependency.txt'))
614 _generate_report(os.path.join(work_dir, REPORT_FILENAME),
632 def _ats_run(args, work_dir): argument
641 with open(os.path.join(work_dir, 'extra_deqp_dependency.txt'), 'r') as f:
652 dependency_collector = DeqpDependencyCollector(work_dir,
653 os.path.join(work_dir, 'test_resources'), adb)
658 os.path.join(work_dir, 'dEQP-dependency.txt'))
661 _generate_cts_xml(work_dir, DEFAULT_CTS_XML)
668 base_build_target = os.path.join(work_dir, 'base_build_target_files')
675 current_build_target = os.path.join(work_dir, 'current_build_target_files')
680 _generate_cts_xml(work_dir, INCREMENTAL_DEQP_XML)
682 _generate_cts_xml(work_dir, DEFAULT_CTS_XML)
684 _generate_report(os.path.join(*[work_dir, 'logs', REPORT_FILENAME]),
698 work_dir = ''
701 work_dir = os.getenv('TF_WORK_DIR')
702 log_file_name = os.path.join(*[work_dir, 'logs', 'incremental-deqp-log-'+str(uuid.uuid4())])
704 work_dir = tempfile.mkdtemp(prefix='incremental-deqp-'
706 log_file_name = os.path.join(work_dir, 'incremental-deqp-log')
711 _ats_run(args, work_dir)
713 _local_run(args, work_dir)