[Driver] Add test.

llvm-svn: 169721
This commit is contained in:
Michael J. Spencer 2012-12-10 02:53:10 +00:00
parent 39d3809368
commit 74f29afd58
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
RUN: lld -flavor ld -### -target i686-linux -e adena -o out.a 2>&1 \
RUN: | FileCheck %s
CHECK: -target i686-linux -entry=adena -output=out.a

View File

@ -20,7 +20,7 @@ execute_external = (platform.system() != 'Windows'
config.test_format = lit.formats.ShTest(execute_external)
# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.objtxt']
config.suffixes = ['.objtxt', '.test']
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)