Lines Matching +full:test +full:- +full:results

2 # Use of this source code is governed by a BSD-style license that can be
5 """Mock out test results for puppylab.
26 # several non-essential directoris in the process or recording status.
38 "START\t----\t----\ttimestamp=%(timestamp)s\tlocaltime=%(date)s"
44 "END GOOD\t----\t----\ttimestamp=%(timestamp)s\tlocaltime=%(date)s")
51 """Class to mock out the results of a test."""
54 """Create essential directories needed for faking test results.
57 test status already exist.
77 """Initialize a results mocker.
79 @param test_name: The name of the test, eg: dummy_Pass.
80 @param results_dir: The results directory this test will use.
81 @param machine_name: A string representing the hostname the test will
92 # Status logs are used by the parser to declare a test as pass/fail.
98 # about a test. Only job_keyvals are crucial to parsing.
104 def _write(self, results_path, results): argument
105 """Write the content in results to the file in results_path.
107 @param results_path: The path to the results file.
108 @param results: The content to write to the file.
110 logging.info('Writing results to %s', results_path)
112 results_file.write(results)
119 crucial to results parsing:
120 host_keyvals - information about the DUT
121 job_keyvals - information about the server_job
122 test_keyvals - information about the test
138 test_name/status - core test status
139 results_dir/status - server job status (has test status in it)
140 status.log - compiled final status log
161 """Create mock results in the directories used to init the instance."""