File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
Frontend/DiagnosticVerifier Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- // RUN: not %target-typecheck-verify-swift
1
+ // RUN: not %target-typecheck-verify-swift -verify-ignore-unrelated
2
2
3
3
// This is highly invalid, so just don't crash.
4
4
Original file line number Diff line number Diff line change 3
3
// This needs to be a separate test from verify.swift because compilation will
4
4
// terminate after the failing import statement.
5
5
6
- // RUN: not %target-typecheck-verify-swift -I %S/Inputs/broken-c-module 2>&1 | %FileCheck %s
6
+ // RUN: not %target-typecheck-verify-swift -verify-ignore-unrelated - I %S/Inputs/broken-c-module 2>&1 | %FileCheck %s
7
7
8
8
// CHECK: [[@LINE+3]]:8: error: unexpected error produced: could not build
9
9
// CHECK: note: diagnostic produced elsewhere: in file included from <module-includes>
Original file line number Diff line number Diff line change 1
1
// Tests for the Swift frontends `-verify` mode.
2
2
3
- // RUN: not %target-typecheck-verify-swift 2>&1 | %FileCheck %s
3
+ // RUN: not %target-typecheck-verify-swift -verify-ignore-unrelated 2>&1 | %FileCheck %s
4
4
5
5
// CHECK: [[@LINE+1]]:1: error: unexpected error produced: cannot find 'undefinedFunc' in scope
6
6
undefinedFunc ( )
Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: not %target-swift-frontend -typecheck -verify -serialize-diagnostics-path %t/serialized.dia %s 2>&1 | %FileCheck %s
3
- // RUN: not %target-swift-frontend -typecheck -verify -warnings-as-errors %s 2>&1 | %FileCheck %s -check-prefix CHECK-WARNINGS-AS-ERRORS
2
+ // RUN: not %target-swift-frontend -typecheck -verify -verify-ignore-unrelated - serialize-diagnostics-path %t/serialized.dia %s 2>&1 | %FileCheck %s
3
+ // RUN: not %target-swift-frontend -typecheck -verify -verify-ignore-unrelated - warnings-as-errors %s 2>&1 | %FileCheck %s -check-prefix CHECK-WARNINGS-AS-ERRORS
4
4
// RUN: %FileCheck %s -check-prefix CHECK-SERIALIZED <%t/serialized.dia
5
5
6
6
// Wrong message
Original file line number Diff line number Diff line change 1
- // RUN: not %target-typecheck-verify-swift -I %S/Inputs -enable-experimental-cxx-interop 2>&1 | %FileCheck %s
1
+ // RUN: not %target-typecheck-verify-swift -verify-ignore-unrelated - I %S/Inputs -enable-experimental-cxx-interop 2>&1 | %FileCheck %s
2
2
3
3
// README: If you just added support for protocol composition to the
4
4
// ClangTypeConverter, please update this test to use a different type that we
You can’t perform that action at this time.
0 commit comments