Searched refs:TestStatus (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/tools/testing/kunit/ |
D | kunit_parser.py | 41 self.status = TestStatus.TEST_CRASHED 64 return self.status in (TestStatus.SUCCESS, TestStatus.SKIPPED) 66 class TestStatus(Enum): class 118 def get_status(self) -> TestStatus: 123 return TestStatus.NO_TESTS 126 return TestStatus.TEST_CRASHED 128 return TestStatus.FAILURE 131 return TestStatus.SUCCESS 133 return TestStatus.SKIPPED 135 def add_status(self, status: TestStatus) -> None: argument [all …]
|
D | kunit_json.py | 13 from kunit_parser import Test, TestStatus 24 _status_map: Dict[TestStatus, str] = { 25 TestStatus.SUCCESS: "PASS", 26 TestStatus.SKIPPED: "SKIP", 27 TestStatus.TEST_CRASHED: "ERROR",
|
D | kunit_tool_test.py | 143 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.status) 150 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.status) 157 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.status) 164 self.assertEqual(kunit_parser.TestStatus.FAILURE, result.status) 173 self.assertEqual(kunit_parser.TestStatus.FAILURE_TO_PARSE_TESTS, result.status) 185 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.status) 193 self.assertEqual(kunit_parser.TestStatus.NO_TESTS, result.status) 203 kunit_parser.TestStatus.NO_TESTS, 225 self.assertEqual(kunit_parser.TestStatus.SUCCESS, result.status) 233 self.assertEqual(kunit_parser.TestStatus.SKIPPED, result.status) [all …]
|
D | kunit.py | 214 def _map_to_overall_status(test_status: kunit_parser.TestStatus) -> KunitStatus: argument 215 if test_status in (kunit_parser.TestStatus.SUCCESS, kunit_parser.TestStatus.SKIPPED): 225 fake_test.status = kunit_parser.TestStatus.SUCCESS 255 if test.status != kunit_parser.TestStatus.SUCCESS:
|