[llvm] r287180 - [AVR] Remove some accidentally-commited code that broke the bots
Dylan McKay via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 16 16:09:38 PST 2016
Author: dylanmckay
Date: Wed Nov 16 18:09:38 2016
New Revision: 287180
URL: http://llvm.org/viewvc/llvm-project?rev=287180&view=rev
Log:
[AVR] Remove some accidentally-commited code that broke the bots
This is a remnant of an on-chip unit testing tool that has since been
moved out-of-tree.
It was accidentally committed in r287162.
Modified:
llvm/trunk/test/CodeGen/AVR/lit.local.cfg
Modified: llvm/trunk/test/CodeGen/AVR/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AVR/lit.local.cfg?rev=287180&r1=287179&r2=287180&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AVR/lit.local.cfg (original)
+++ llvm/trunk/test/CodeGen/AVR/lit.local.cfg Wed Nov 16 18:09:38 2016
@@ -1,27 +1,3 @@
if not 'AVR' in config.root.targets:
config.unsupported = True
-config.suffixes = ['.ll', '.cpp']
-
-import os, lit.TestRunner
-from lit.formats import ShTest
-
-targets = set(config.root.targets_to_build.split())
-if not 'AVR' in targets:
- config.unsupported = True
-
-if 'AVRLIT_PORT' in os.environ:
- config.environment['AVRLIT_PORT'] = os.environ['AVRLIT_PORT']
-
-class AVRCodeGenTest(ShTest):
- def __init__(self):
- ShTest.__init__(self)
-
- def execute(self, test, litConfig):
- if test.getSourcePath().endswith('.cpp') and not 'AVRLIT_PORT' in os.environ:
- return (lit.Test.UNSUPPORTED, 'AVRLIT_PORT environment variable is not set')
-
- return ShTest.execute(self, test, litConfig)
-
-
-config.test_format = AVRCodeGenTest()
More information about the llvm-commits
mailing list