File tree Expand file tree Collapse file tree 7 files changed +10
-10
lines changed
Frontend/DiagnosticVerifier Expand file tree Collapse file tree 7 files changed +10
-10
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
22
33// This is highly invalid, so just don't crash.
44
Original file line number Diff line number Diff line change 1- // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -I %S/Inputs/custom-modules %s
2- // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -I %S/Inputs/custom-modules -application-extension %s
3- // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -I %S/Inputs/custom-modules -application-extension-library %s
1+ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -verify-ignore-unrelated - I %S/Inputs/custom-modules %s
2+ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -verify-ignore-unrelated - I %S/Inputs/custom-modules -application-extension %s
3+ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -verify-ignore-unrelated - I %S/Inputs/custom-modules -application-extension-library %s
44
55// REQUIRES: OS=ios
66
Original file line number Diff line number Diff line change 1- // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -I %S/Inputs/custom-modules %s
1+ // RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -verify -verify-ignore-unrelated - I %S/Inputs/custom-modules %s
22
33// REQUIRES: OS=watchos
44
Original file line number Diff line number Diff line change 33// This needs to be a separate test from verify.swift because compilation will
44// terminate after the failing import statement.
55
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
77
88// CHECK: [[@LINE+3]]:8: error: unexpected error produced: could not build
99// CHECK: note: diagnostic produced elsewhere: in file included from <module-includes>
Original file line number Diff line number Diff line change 11// Tests for the Swift frontends `-verify` mode.
22
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
44
55// CHECK: [[@LINE+1]]:1: error: unexpected error produced: cannot find 'undefinedFunc' in scope
66undefinedFunc ( )
Original file line number Diff line number Diff line change 11// 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
44// RUN: %FileCheck %s -check-prefix CHECK-SERIALIZED <%t/serialized.dia
55
66// 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
22
33// README: If you just added support for protocol composition to the
44// ClangTypeConverter, please update this test to use a different type that we
You can’t perform that action at this time.
0 commit comments