Skip to content

Commit

Permalink
Follow-up for lit.test.ResultCode adoption
Browse files Browse the repository at this point in the history
Fixup for 17f2cec.  I mixed up the labels for the ResultCode instances
in my previous commit.
  • Loading branch information
Julian Lettner committed Jun 18, 2020
1 parent b7cbf81 commit 7fb25f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions litsupport/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
# However, some users rely on the lit version provided by pypi that does not require or have add_result_category.
# See for more details: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20200511/780899.html
try:
NOCHANGE = lit.Test.ResultCode('NOCHANGE', 'Executable Missing', False)
NOEXE = lit.Test.ResultCode('NOEXE', 'Executable Unchanged', True)
NOCHANGE = lit.Test.ResultCode('NOCHANGE', 'Executable Unchanged', False)
NOEXE = lit.Test.ResultCode('NOEXE', 'Executable Missing', True)
except TypeError:
NOCHANGE = lit.Test.ResultCode('NOCHANGE', False)
NOEXE = lit.Test.ResultCode('NOEXE', True)
Expand Down

0 comments on commit 7fb25f0

Please sign in to comment.