Skip to content

Commit

Permalink
Requirements can have & in them!
Browse files Browse the repository at this point in the history
Lets escape those so the XML is valid!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332161 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Chris Matthews committed May 12, 2018
1 parent 9a50c9b commit 7e911da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/lit/lit/Test.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def writeJUnitXML(self, fil):
elif self.result.code == UNSUPPORTED:
unsupported_features = self.getMissingRequiredFeatures()
if unsupported_features:
skip_message = "Skipping because of: " + ", ".join(unsupported_features)
skip_message = escape("Skipping because of: " + ", ".join(unsupported_features))
else:
skip_message = "Skipping because of configuration."

Expand Down

0 comments on commit 7e911da

Please sign in to comment.