Home
last modified time | relevance | path

Searched refs:Logger (Results 1 – 9 of 9) sorted by relevance

/art/tools/checker/common/
Dlogger.py19 class Logger(object): class
31 elif color == Logger.Color.Blue:
33 elif color == Logger.Color.Gray:
35 elif color == Logger.Color.Purple:
37 elif color == Logger.Color.Red:
39 elif color == Logger.Color.Green:
48 if level <= Logger.Verbosity:
49 text = Logger.Color.terminalCode(color, out) + text + \
50 Logger.Color.terminalCode(Logger.Color.Default, out)
59 Logger.log("error: ", Logger.Level.Error, color=Logger.Color.Red, newLine=False, out=sys.stderr)
[all …]
/art/tools/checker/
Dchecker.py21 from common.logger import Logger
50 Logger.log(compiler_pass.name)
61 Logger.log((str(curLineNo) + ":").ljust(lenLineNo) + line)
64 Logger.fail("Pass \"" + passName + "\" not found in the output")
73 Logger.fail("No source path provided")
85 Logger.fail("Source path \"" + path + "\" not found")
102 Logger.Verbosity = Logger.Level.Error
Drun_unit_tests.py17 from common.logger import Logger
30 Logger.Verbosity = Logger.Level.NoOutput
/art/tools/checker/file_format/c1visualizer/
Dparser.py15 from common.logger import Logger
46 Logger.fail("Expected output group name", fileName, lineNo)
60 Logger.fail("Empty method name in output", fileName, lineNo)
72 Logger.fail("Expected method header", fileName, lineNo)
79 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
86 Logger.fail("C1visualizer line not inside a group", fileName, lineNo)
Dstruct.py15 from common.logger import Logger
47 Logger.fail("C1visualizer pass does not have a name", self.fileName, self.startLineNo)
49 Logger.fail("C1visualizer pass does not have a body", self.fileName, self.startLineNo)
/art/tools/checker/match/
Dfile.py17 from common.logger import Logger
175 Logger.fail("Test case not found in the CFG file",
178 Logger.startTest(testCase.name)
181 Logger.testPassed()
189 Logger.testFailed(msg, e.assertion, e.variables)
Dline.py15 from common.logger import Logger
38 Logger.testFailed("Missing definition of variable \"{}\"".format(name), pos, variables)
44 Logger.testFailed("Multiple definitions of variable \"{}\"".format(name), pos, variables)
/art/tools/checker/file_format/checker/
Dstruct.py15 from common.logger import Logger
50 Logger.fail("Test case does not have a name", self.fileName, self.startLineNo)
63 Logger.fail("A next-line assertion can only be placed after an "
99 Logger.fail("CHECK-NOT lines cannot define variables", self.fileName, self.lineNo)
Dparser.py16 from common.logger import Logger
118 Logger.fail("Checker assertion could not be parsed: '" + line + "'", fileName, lineNo)
198 Logger.fail("Checker line not inside a group", fileName, lineNo)