Skip to content

Commit f7eea0f

Browse files
committed
Disable swift_evolve for SourceKit tests
A lot of these are source-order-dependent and there’s no particular reason to think they’re relevant to resilience testing.
1 parent 7733cf2 commit f7eea0f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/SourceKit/DocSupport/doc_clang_module.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
// REQUIRES: objc_interop
22

3-
// SourceKit is expected to produce documentation in source order.
4-
// UNSUPPORTED: swift_evolve
5-
63
// FIXME: the test output we're comparing to is specific to macOS.
74
// REQUIRES-ANY: OS=macosx
85

test/SourceKit/lit.local.cfg

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ if 'sourcekit' not in config.available_features:
44
elif 'OS=linux-gnu' in config.available_features and 'LinuxDistribution=Ubuntu-14.04' in config.available_features:
55
config.unsupported = True
66

7+
elif 'swift_evolve' in config.available_features:
8+
# A lot of tests necessarily depend on standard library source order.
9+
config.unsupported = True
10+
711
else:
812
sed_clean = r"grep -v 'key.hash: \"0\"'"
913
sed_clean += r" | sed -e 's/key.filepath: \".*[/\\\\]\\(.*\\)\\.swiftmodule\"/key.filepath: \\1.swiftmodule/g'"

0 commit comments

Comments
 (0)