Follow-up for lit.test.ResultCode adoption
Fixup for 17f2cec5. I mixed up the labels for the ResultCode instances
in my previous commit.
diff --git a/litsupport/test.py b/litsupport/test.py
index a57f91b..14d1be3 100644
--- a/litsupport/test.py
+++ b/litsupport/test.py
@@ -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)