If the junit output file doesn't exist, that should still count as an error on the target.

Review Request #3407 - Created Feb. 1, 2016 and submitted

Information
Sameer Brenn
pants
Reviewers
pants-reviews
benjyw, stuhood

If the junit output file doesn't exist, that should still count as an error on the target. We have some junit tests in our repo that fail outside of an actual testmethod, so the junit xml output file doesn't get created. If that file doesn't get created, it's a failure of the target, so that target should still be in TestFailedTaskError even though we don't have a testmethod and testclass.

build-support/bin/unit-tests.sh

The tests that fail in our repo are quite inscrutable so I can't tell how to create a simple unit test for this. Would it be ok to submit this as-is?

It works on the degenerate tests in our repo.

Yi Cheng
Sameer Brenn
Sameer Brenn
Benjy Weinberger
Stu Hood
Sameer Brenn
Review request changed

Status: Closed (submitted)

Change Summary:

Merged as 71304f977695cc19c8c19d2d6b28599e090d19fa

Loading...