def pytest_runtest_logreport(self, report):
        if report.passed:
            if report.when == "call":  # ignore setup/teardown
                reporter = self._opentestcase(report)
                reporter.append_pass(report)
        elif report.failed:
            reporter = self._opentestcase(report)
            if report.when == "call":
                reporter.append_failure(report)
            else:
                reporter.append_error(report)
        elif report.skipped:
            reporter = self._opentestcase(report)
            reporter.append_skipped(report)
        self.update_testcase_duration(report)
        if report.when == "teardown":
            self.finalize(report)
Variable name is assumed to be ``op_name + ':0'``
dataset/ETHPy150Open pytest-dev/pytest/_pytest/junitxml.py/LogXML.pytest_runtest_logreport--crossover with--dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/tfutils/common.py/get_op_var_name