Home
last modified time | relevance | path

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

/linux-6.12.1/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
105 ftap += '\n\t{}'.format(t.failmsg)
117 if t.failmsg:
123 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg))
Dtdc.py282failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {} '
283 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
285 res.set_failmsg(failmsg)
289failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
290 failmsg = failmsg.format(len(outputJSON), outputJSON, len(matchJSON), matchJSON)
292 res.set_failmsg(failmsg)
318failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
319 failmsg = failmsg.format(outputJSONVal, matchJSONVal)
321 res.set_failmsg(failmsg)
325failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
[all …]