Alex Hoppen
32eff21977
[IDE] Remove "Begin completions" and "End completions" from test cases
...
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00
Erik Eckstein
78ec15cf38
tests: remove some unused FileCheck prefix options
...
Such tests would fail with the -allow-unused-prefixes FileCheck option.
diff --git a/test/lit.cfg b/test/lit.cfg
-run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s' % (
+run_filecheck = '%s %s --sanitize BUILD_DIR=%s --sanitize SOURCE_DIR=%s --use-filecheck %s %s -allow-unused-prefixes=false' % (
It helps avoiding some wrong CHECK patterns.
I just looked briefly at some of the fails. TODO: fix remaining tests, too.
rdar://74189761
2021-03-25 15:19:30 +01:00
Dmitri Gribenko
486cab447d
tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'
...
These changes were made using a script.
2017-06-04 11:08:39 -07:00
Dmitri Gribenko
55864d10cb
Tests: use 'mkdir -p'
2016-09-02 21:36:45 -07:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Jordan Rose
613b194025
[IDE] Honer @testable for top-level completions as well.
...
This is the last planned Swift-side fix for testability in this release!
rdar://problem/17732115
Swift SVN r26949
2015-04-03 20:20:17 +00:00
Jordan Rose
e524e96beb
[test] Add a code completion test for @testable.
...
...which isn't quite working yet. Because we cache the results of top-level
lookups into modules, we can't see testable decls at the top level yet.
However, I think that's the only known issue with testability at this point,
so we can move ahead with the feature.
Swift SVN r26846
2015-04-02 02:57:40 +00:00