Make sure we call the parent class' check_result() method to check the
return code, stderr output, etc.
Signed-off-by: Vincent Fu <vincent.fu@samsung.com>
def check_result(self):
"""Check output for allrandrepeat=1."""
+ super().check_result()
+ if not self.passed:
+ return
+
opt = 'randrepeat' if 'randrepeat' in self.fio_opts else 'allrandrepeat'
rr = self.fio_opts[opt]
rand_seeds = self.get_rand_seeds()
def check_result(self):
"""Check output for randseed=something."""
+ super().check_result()
+ if not self.passed:
+ return
+
rand_seeds = self.get_rand_seeds()
randseed = self.fio_opts['randseed']