Home
last modified time | relevance | path

Searched refs:failmsg (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/tools/testing/selftests/tc-testing/
DTdcResults.py16 self.failmsg = ""
40 def set_failmsg(self, failmsg): argument
41 self.failmsg = failmsg
44 def append_failmsg(self, failmsg): argument
45 self.failmsg = '{}\n{}'.format(self.failmsg, failmsg)
48 return self.failmsg
104 ftap += '\n\t{}'.format(t.failmsg)
116 if t.failmsg:
122 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg))
Dtdc.py260failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {} '
261 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
263 res.set_failmsg(failmsg)
267failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
268 failmsg = failmsg.format(len(outputJSON), outputJSON, len(matchJSON), matchJSON)
270 res.set_failmsg(failmsg)
296failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
297 failmsg = failmsg.format(outputJSONVal, matchJSONVal)
299 res.set_failmsg(failmsg)
303failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
[all …]