Commit Graph

9 Commits

Author SHA1 Message Date
Gwen Mittertreiner
8a6d28c7d0 Fix the Rest of the Windows Driver Tests 2019-03-06 14:23:49 -08:00
Jordan Rose
a090761d3f [test] Tweak Driver/subcommands.swift not to actually run anything
Whoever touched this test last didn't know the rule for arguments
passed to the interpreter: if they're after the file to interpret,
they're treated as arguments to the script rather than the compiler.
2018-12-11 11:31:09 -08:00
Ankit Aggarwal
d84e4b4de1 [Driver] Remove built-in run subcommand
This is as per discussion in https://bugs.swift.org/browse/SR-5332
2017-07-10 10:35:00 +05:30
Robert Widmann
6509f78f13 tests: replace remaining 'mkdir -p' calls with %empty-directory(...)'
These changes were made manually.
2017-06-04 11:08:39 -07:00
Chris Bieneman
0a20774f8b Fix swift tests to work with in-tree LLDB
Several of the swift repl tests assume that lldb does not exist next to the swift driver in the binary directory. This patch updates the tests to remove that assumption. This allows the swift tests to correctly pass if LLDB is built in-tree.

These tests are all checking for invocations of the legacy swift repl. If LLDB is in the directory next to swift they fail because it instead invokes the LLDB repl. This patch makes the tests pass by hard linking the swift driver into a temp directory before running those tests so that swift doesn't find LLDB sitting next to itself.
2016-09-25 22:16:14 -07:00
Dmitri Gribenko
d175b3b66d Migrate FileCheck to %FileCheck in tests 2016-08-10 23:52:02 -07:00
Chris Lattner
92750511df Convert the last uses of __FILE__ etc in the testsuite over to the new
syntax.  I left the tests for the deprecation warnings in
test/expr/expressions.swift.
2016-02-04 15:41:09 -08:00
Slava Pestov
0771602f5a Annotate Driver/subcommands.swift test as requiring 'swift' command to work 2016-01-13 22:49:45 -07:00
Daniel Dunbar
a0f5bdfa50 [PATCH] [Driver] Add support for using 'swift' to exec subcommands.
- This allows 'swift <FOO>' to be used to invoke swift-<FOO>, so that we can
   use 'swift' as a namespace for additional commands (like ones used for the
   package manager.

 - This patch just adds the basic subcommand functionality, but doesn't rework
   either 'swift-autolink-extract' or 'swift -frontend' to follow this code path.

 - <rdar://problem/22844530> Provide 'swift' support for subcommands



Swift SVN r32367
2015-10-01 07:16:12 +00:00