diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-12-10 02:53:10 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2012-12-10 02:53:10 +0000 |
| commit | 74f29afd587b023a59f126d4955f3093f3305456 (patch) | |
| tree | 05d5896cd36e6c6e7edbe1e4a6eae591f8e80dc3 | |
| parent | 39d3809368d502939c87a6e34c798746b3abb8ef (diff) | |
| download | bcm5719-llvm-74f29afd587b023a59f126d4955f3093f3305456.tar.gz bcm5719-llvm-74f29afd587b023a59f126d4955f3093f3305456.zip | |
[Driver] Add test.
llvm-svn: 169721
| -rw-r--r-- | lld/test/Driver/trivial-driver.test | 4 | ||||
| -rw-r--r-- | lld/test/lit.cfg | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lld/test/Driver/trivial-driver.test b/lld/test/Driver/trivial-driver.test new file mode 100644 index 00000000000..06d0cac73f0 --- /dev/null +++ b/lld/test/Driver/trivial-driver.test @@ -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 diff --git a/lld/test/lit.cfg b/lld/test/lit.cfg index a27671c5dd5..4462eca21e6 100644 --- a/lld/test/lit.cfg +++ b/lld/test/lit.cfg @@ -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__) |

