@@ -323,10 +323,10 @@ def add_run(self, run):
323
323
if run .test .xfail :
324
324
if run .status == "PASS" :
325
325
self .num_xpasses += 1
326
- run .status = "XFAIL_UNEXPECTEDLY_PASSED "
326
+ run .status = "XPASS "
327
327
elif run .status == "FAIL" :
328
328
self .num_xfails += 1
329
- run .status = "XFAIL_EXPECTEDLY_FAILED "
329
+ run .status = "XFAIL "
330
330
elif run .status == "PASS" :
331
331
self .num_passes += 1
332
332
elif run .test .mayfail :
@@ -356,7 +356,7 @@ def finish(self, profile):
356
356
self .fail_list = []
357
357
self .timeout_list = []
358
358
self .xpass_list = []
359
- self .may_fail_failed_list = []
359
+ self .mayfail_list = []
360
360
361
361
for test in self .tests :
362
362
try :
@@ -368,10 +368,10 @@ def finish(self, profile):
368
368
self .fail_list .append (run )
369
369
elif run .status == "TIMEOUT" :
370
370
self .timeout_list .append (run )
371
- elif run .status == "XFAIL_UNEXPECTEDLY_PASSED " :
371
+ elif run .status == "XPASS " :
372
372
self .xpass_list .append (run )
373
373
elif run .status == "MAYFAIL" :
374
- self .may_fail_failed_list .append (run )
374
+ self .mayfail_list .append (run )
375
375
for test in not_runs :
376
376
run = profile .create_run (test )
377
377
run .status = "FAIL"
@@ -384,7 +384,7 @@ def finish(self, profile):
384
384
self .fail_list .append (run )
385
385
self .fail_list .sort (key = lambda r : r .test .name )
386
386
self .xpass_list .sort (key = lambda r : r .test .name )
387
- self .may_fail_failed_list .sort (key = lambda r : r .test .name )
387
+ self .mayfail_list .sort (key = lambda r : r .test .name )
388
388
389
389
def write_junit (self , out , suite_name ):
390
390
""" Print results to the Junit XML file for reading by Jenkins."""
0 commit comments