diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-01-31 18:04:38 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-01-31 18:04:38 +0000 |
commit | d5f7dbba2e1a34b4a33434b91caf1fb7c1fab452 (patch) | |
tree | b33033f1d0f04d7d6f1898019b3ac0c2e1250d33 /utils/lit | |
parent | f79c5e2f842e952d26a2aa380fa71d5917c865a0 (diff) | |
download | external_llvm-d5f7dbba2e1a34b4a33434b91caf1fb7c1fab452.zip external_llvm-d5f7dbba2e1a34b4a33434b91caf1fb7c1fab452.tar.gz external_llvm-d5f7dbba2e1a34b4a33434b91caf1fb7c1fab452.tar.bz2 |
[lit] Delete the now-unused SyntaxCheckTest format.
- Also, kill the pointless LitFormats module.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/lit')
-rw-r--r-- | utils/lit/lit/LitConfig.py | 2 | ||||
-rw-r--r-- | utils/lit/lit/LitFormats.py | 3 | ||||
-rw-r--r-- | utils/lit/lit/TestFormats.py | 9 |
3 files changed, 1 insertions, 13 deletions
diff --git a/utils/lit/lit/LitConfig.py b/utils/lit/lit/LitConfig.py index f7eba48..9bcf20b 100644 --- a/utils/lit/lit/LitConfig.py +++ b/utils/lit/lit/LitConfig.py @@ -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 diff --git a/utils/lit/lit/LitFormats.py b/utils/lit/lit/LitFormats.py deleted file mode 100644 index 2e3f79d..0000000 --- a/utils/lit/lit/LitFormats.py +++ /dev/null @@ -1,3 +0,0 @@ -from TestFormats import FileBasedTest -from TestFormats import GoogleTest, ShTest -from TestFormats import SyntaxCheckTest, OneCommandPerFileTest diff --git a/utils/lit/lit/TestFormats.py b/utils/lit/lit/TestFormats.py index b0fa0a2..a272976 100644 --- a/utils/lit/lit/TestFormats.py +++ b/utils/lit/lit/TestFormats.py @@ -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 |