Construct MesonTestResult with error status and duration
(duration: float)
| 46 | |
| 47 | @staticmethod |
| 48 | def construct_build_error(duration: float) -> "MesonTestResult": |
| 49 | """Construct MesonTestResult with error status and duration""" |
| 50 | out = MesonTestResult( |
| 51 | success=False, |
| 52 | duration=duration, |
| 53 | num_tests_run=0, |
| 54 | num_tests_passed=0, |
| 55 | num_tests_failed=0, |
| 56 | ) |
| 57 | return out |
| 58 | |
| 59 | |
| 60 | def run_meson_test( |
no test coverage detected