[llvm-commits] [lld] r169721 - in /lld/trunk/test: Driver/ Driver/trivial-driver.test lit.cfg
Michael J. Spencer
bigcheesegs at gmail.com
Sun Dec 9 18:53:10 PST 2012
Author: mspencer
Date: Sun Dec 9 20:53:10 2012
New Revision: 169721
URL: http://llvm.org/viewvc/llvm-project?rev=169721&view=rev
Log:
[Driver] Add test.
Added:
lld/trunk/test/Driver/
lld/trunk/test/Driver/trivial-driver.test
Modified:
lld/trunk/test/lit.cfg
Added: lld/trunk/test/Driver/trivial-driver.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/Driver/trivial-driver.test?rev=169721&view=auto
==============================================================================
--- lld/trunk/test/Driver/trivial-driver.test (added)
+++ lld/trunk/test/Driver/trivial-driver.test Sun Dec 9 20:53:10 2012
@@ -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
Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=169721&r1=169720&r2=169721&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Sun Dec 9 20:53:10 2012
@@ -20,7 +20,7 @@
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__)
More information about the llvm-commits
mailing list