Make having no RUN line a failure.
Doug, please look at decltype-crash and instantiate-function-1.mm, I'm not sure
if they are actually testing the right thing / anything.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77070 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/utils/test/TestRunner.py b/utils/test/TestRunner.py
index 3b2b5eb..ba43330 100755
--- a/utils/test/TestRunner.py
+++ b/utils/test/TestRunner.py
@@ -33,10 +33,9 @@
XFail = 1
Fail = 2
XPass = 3
- NoRunLine = 4
- Invalid = 5
+ Invalid = 4
- kNames = ['Pass','XFail','Fail','XPass','NoRunLine','Invalid']
+ kNames = ['Pass','XFail','Fail','XPass','Invalid']
@staticmethod
def getName(code):
return TestStatus.kNames[code]
@@ -106,7 +105,7 @@
else:
print >>output, "******************** TEST '%s' HAS NO RUN LINE! ********************"%(TESTNAME,)
output.flush()
- return TestStatus.NoRunLine
+ return TestStatus.Fail
FILENAME = os.path.abspath(FILENAME)
SCRIPT = OUTPUT + '.script'