[llvm] r174070 - [lit] Delete the now-unused SyntaxCheckTest format.
Daniel Dunbar
daniel at zuster.org
Thu Jan 31 10:04:38 PST 2013
Author: ddunbar
Date: Thu Jan 31 12:04:38 2013
New Revision: 174070
URL: http://llvm.org/viewvc/llvm-project?rev=174070&view=rev
Log:
[lit] Delete the now-unused SyntaxCheckTest format.
- Also, kill the pointless LitFormats module.
Removed:
llvm/trunk/utils/lit/lit/LitFormats.py
Modified:
llvm/trunk/utils/lit/lit/LitConfig.py
llvm/trunk/utils/lit/lit/TestFormats.py
Modified: llvm/trunk/utils/lit/lit/LitConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitConfig.py?rev=174070&r1=174069&r2=174070&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/LitConfig.py (original)
+++ llvm/trunk/utils/lit/lit/LitConfig.py Thu Jan 31 12:04:38 2013
@@ -12,7 +12,7 @@ class LitConfig:
import Test
# Provide access to built-in formats.
- import LitFormats as formats
+ import TestFormats as formats
# Provide access to built-in utility functions.
import Util as util
Removed: llvm/trunk/utils/lit/lit/LitFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/LitFormats.py?rev=174069&view=auto
==============================================================================
--- llvm/trunk/utils/lit/lit/LitFormats.py (original)
+++ llvm/trunk/utils/lit/lit/LitFormats.py (removed)
@@ -1,3 +0,0 @@
-from TestFormats import FileBasedTest
-from TestFormats import GoogleTest, ShTest
-from TestFormats import SyntaxCheckTest, OneCommandPerFileTest
Modified: llvm/trunk/utils/lit/lit/TestFormats.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestFormats.py?rev=174070&r1=174069&r2=174070&view=diff
==============================================================================
--- llvm/trunk/utils/lit/lit/TestFormats.py (original)
+++ llvm/trunk/utils/lit/lit/TestFormats.py Thu Jan 31 12:04:38 2013
@@ -221,12 +221,3 @@ class OneCommandPerFileTest:
report += """Output:\n--\n%s--""" % diags
return Test.FAIL, report
-
-class SyntaxCheckTest(OneCommandPerFileTest):
- def __init__(self, compiler, dir, extra_cxx_args=[], *args, **kwargs):
- cmd = [compiler, '-x', 'c++', '-fsyntax-only'] + extra_cxx_args
- OneCommandPerFileTest.__init__(self, cmd, dir,
- useTempInput=1, *args, **kwargs)
-
- def createTempInput(self, tmp, test):
- print >>tmp, '#include "%s"' % test.source_path
More information about the llvm-commits
mailing list