Skip to content

Commit

Permalink
[AVR] Remove some accidentally-commited code that broke the bots
Browse files Browse the repository at this point in the history
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287180 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Dylan McKay committed Nov 17, 2016
1 parent 510c1b6 commit b8248fe
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions test/CodeGen/AVR/lit.local.cfg
Original file line number Diff line number Diff line change
@@ -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()

0 comments on commit b8248fe

Please sign in to comment.