Skip to content

disable virtually all lit tests to unblock Swift CI #370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lit_tests/coloring.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s

// REQUIRES: rdar90284916

enum List<T> {
case Nil
// rdar://21927124
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/coloring_comments.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s

// REQUIRES: rdar90284916

// CHECK: <comment-block>/* foo is the best */</comment-block>
/* foo is the best */
func foo(n: Float) {}
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/coloring_configs.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s

// REQUIRES: rdar90284916

// CHECK: <kw>var</kw> <id>f</id> : <type>Int</type>
var f : Int

Expand Down
2 changes: 2 additions & 0 deletions lit_tests/coloring_keywords.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s

// REQUIRES: rdar90284916

// CHECK: <kw>return</kw> <id>c</id>.<id>return</id>

class C {
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/coloring_unclosed_hash_if.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// RUN: %lit-test-helper -classify-syntax -source-file %s | %FileCheck %s

// REQUIRES: rdar90284916

// CHECK: <#kw>#if</#kw> <#id>d</#id>
// CHECK-NEXT: <kw>func</kw> <id>bar</id>() {
// CHECK-NEXT: <#kw>#if</#kw> <#id>d</#id>
Expand Down
3 changes: 2 additions & 1 deletion lit_tests/incrParse/add-else-to-ifconfig.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
// RUN: %empty-directory(%t)
// RUN: %validate-incrparse %s --test-case ADD_ELSE

// REQUIRES: rdar90284916

func container() {
#if false
<<ADD_ELSE<|||#else>>>

2 changes: 2 additions & 0 deletions lit_tests/incrParse/add-space-at-missing-brace.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// RUN: %empty-directory(%t)
// RUN: %validate-incrparse %s --test-case INSERT_SPACE

// REQUIRES: rdar90284916

class AnimationType {
func foo(x: Blah) {
switch x {
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/incrParse/funcs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
// RUN: %validate-incrparse %s --test-case ADD_PARAM_NAME
// RUN: %validate-incrparse %s --test-case ADD_PARAM_TYPE

// REQUIRES: rdar90284916

func start() {}

class Bar
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/incrParse/inserted_text_starts_identifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@

// SR-8995 rdar://problem/45259469

// REQUIRES: rdar90284916

self = <<STRING<|||_ _>>>foo(1)[object1, object2] + o bar(1)
2 changes: 2 additions & 0 deletions lit_tests/incrParse/invalid.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %validate-incrparse %s --test-case NO_CHANGES
// RUN: %validate-incrparse %s --test-case NESTED_INITIALIZERS

// REQUIRES: rdar90284916

func start() {}

class Bar
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/incrParse/multi-edit-mapping.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
// RUN: %empty-directory(%t)
// RUN: %validate-incrparse %s --test-case MULTI

// REQUIRES: rdar90284916

let one: Int;<reparse MULTI>let two: Int; let three: Int; <<MULTI<||| >>><<MULTI<||| >>>let found: Int;</reparse MULTI>let five: Int;
3 changes: 2 additions & 1 deletion lit_tests/incrParse/reuse.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// RUN: %validate-incrparse %s --test-case UNWRAP_CLASS
// RUN: %validate-incrparse %s --test-case NEXT_TOKEN_CALCULATION

// REQUIRES: rdar90284916

func start() {}

<reparse ADD_PROPERTY>struct Foo {</reparse ADD_PROPERTY>
Expand Down Expand Up @@ -43,4 +45,3 @@ func start() {}
// The indentation on these lines is important for the test case
let a = "hello"
<reparse NEXT_TOKEN_CALCULATION> let c = "<<NEXT_TOKEN_CALCULATION< |||>>>world"</reparse NEXT_TOKEN_CALCULATION>

2 changes: 2 additions & 0 deletions lit_tests/incrParse/simple.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
// RUN: %validate-incrparse %s --test-case ADD_IF_OPEN_BRACE
// RUN: %validate-incrparse %s --test-case EXTEND_IDENTIFIER

// REQUIRES: rdar90284916

func start() {}

<reparse REPLACE>
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/print_verify_tree.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// RUN: %lit-test-helper -print-tree -source-file %s > %t.result
// RUN: diff -u %t.result %S/output/print_verify_tree.swift.withkind

// REQUIRES: rdar90284916

func foo() {
#if swift(>=3.2)
components.append("-b \"\(string[..<string.index(before: string.endIndex)])\"")
Expand Down
2 changes: 2 additions & 0 deletions lit_tests/round_trip_function.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
// RUN: %lit-test-helper -roundtrip -source-file %s -out %t/afterRoundtrip.swift
// RUN: diff -u %t/afterRoundtrip.swift %s

// REQUIRES: rdar90284916

func noArgs() {}
func oneArg(x: Int) {}
func oneUnlabeledArg(_ x: Int) {}
Expand Down