Lines Matching refs:logging
19 import logging
196 logging.error('The test ' + test_name + ' does not exist, please compile first')
204 logging.info('Generating profraw data for ' + test_name)
205 logging.debug('cmd: ' + test_cmd)
207 … logging.error('Test ' + test_name + ' failed. Please fix the test before generating coverage.')
211 logging.error(
227 logging.info('Combining profraw files into profdata for ' + test_name)
228 logging.debug('cmd: ' + " ".join(cmd))
230 logging.error('Failed to merge profraw files for ' + test_name)
258 logging.info('Generating coverage report for ' + test['test_name'])
259 logging.debug('cmd: ' + " ".join(cmd))
261 logging.error('Failed to generate coverage for ' + test['test_name'])
289 logging.info('Generating coverage json for ' + test['test_name'])
290 logging.debug('cmd: ' + " ".join(cmd))
300 logging.debug('Writing json summary file: ' + test_json_summary_file)
358 logging.basicConfig(stream=sys.stderr, level=logging.DEBUG, format='%(levelname)s %(message)s')
359 … logging.addLevelName(logging.DEBUG, "[\033[1;34m%s\033[0m]" % logging.getLevelName(logging.DEBUG))
360 logging.addLevelName(logging.INFO, "[\033[1;34m%s\033[0m]" % logging.getLevelName(logging.INFO))
361 …logging.addLevelName(logging.WARNING, "[\033[1;31m%s\033[0m]" % logging.getLevelName(logging.WARNI…
362 … logging.addLevelName(logging.ERROR, "[\033[1;31m%s\033[0m]" % logging.getLevelName(logging.ERROR))
365 logging.debug("Args: " + str(args))
370 logging.debug("Working Dir: " + WORKING_DIR)
392 logging.error('\"' + test_name + '\" was not found in the list of available tests.')
397 logging.info('Getting coverage for ' + test['test_name'])