mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Temporarily disable tests that are failing due to an assertion.
Tracked by rdar://problem/26099576. Assertion failed: (isValid()), function getFilename, file llvm/tools/clang/include/clang/Basic/SourceLocation.h, line 376.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir -p %t
|
||||
// RUN: not %target-swift-frontend -parse %s -I %S/Inputs/broken-modules/ -enable-source-import -show-diagnostics-after-fatal 2> %t/err.txt
|
||||
// RUN: FileCheck -check-prefix CHECK -check-prefix CLANG-CHECK %s < %t/err.txt
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir -p %t
|
||||
|
||||
// RUN: not %target-swift-frontend -parse %s -I %S/Inputs/custom-modules/ -show-diagnostics-after-fatal -D MISSING_FROM_MODULE 2> %t/err.txt
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend -parse -verify -import-cf-types -I %S/Inputs/custom-modules %s
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: not %target-swift-frontend -parse %s -F %S/Inputs/frameworks -Xcc -D -Xcc FOO 2> %t.err.txt
|
||||
// RUN: FileCheck -input-file=%t.err.txt %s
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir -p %t
|
||||
// RUN: not %target-swift-frontend -parse %s -I %S/Inputs/non-modular -F %S/Inputs/non-modular 2>&1 | FileCheck %s
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -I %S/Inputs/custom-modules %s -import-underlying-module -verify
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-sil -I %S/Inputs/custom-modules %s -verify
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-sil -I %S/Inputs/custom-modules %s -verify
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-sil -I %S/Inputs/custom-modules %s -verify
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir %t
|
||||
// RUN: %build-clang-importer-objc-overlays
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir -p %t
|
||||
// RUN: %target-swift-frontend -emit-module-path %t/SerializationHelper.swiftmodule -I %S/Inputs/custom-modules -F %S/Inputs/frameworks -sdk "" -disable-objc-attr-requires-foundation-module %S/Inputs/SerializationHelper.swift
|
||||
// RUN: %target-swift-frontend -parse -I %t %s -sdk "" -verify
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -verify -I %S/Inputs/custom-modules/ %s
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: cd %S/Inputs/ && %target-swift-frontend(mock-sdk: %clang-importer-sdk) -parse -Xcc -I -Xcc custom-modules %s -dump-clang-diagnostics 2>&1 | FileCheck %s
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-parse-verify-swift -F %S/Inputs/mock-sdk
|
||||
|
||||
// XFAIL: linux
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -F %S/Inputs/mock-sdk -code-completion-token=CLANG_IMPORT1 | FileCheck %s -check-prefix=CLANG_IMPORT1
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -F %S/Inputs/mock-sdk -code-completion-token=CLANG_IMPORT2 | FileCheck %s -check-prefix=CLANG_IMPORT2
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -F %S/Inputs/mock-sdk -code-completion-token=CLANG_IMPORT3 | FileCheck %s -check-prefix=CLANG_IMPORT3
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -F %S/Inputs/mock-sdk -code-completion-token=CLANG_IMPORT1 | FileCheck %s -check-prefix=CLANG_IMPORT1
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -second-source-filename %S/Inputs/complete_import_multifile2.swift -F %S/Inputs/mock-sdk -code-completion-token=CLANG_IMPORT1 | FileCheck %s -check-prefix=CLANG_IMPORT1
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=PA -code-completion-keywords=false -F %S/Inputs/mock-sdk > %t.txt
|
||||
// RUN: FileCheck %s -check-prefix=CHECK1 < %t.txt
|
||||
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=PROPERTY -code-completion-keywords=false -F %S/Inputs/mock-sdk | FileCheck %s -check-prefix=PROPERTY
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
import Foo
|
||||
import FooHelper
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -I %t -I %S/Inputs/custom-modules -print-module -source-filename %s -module-to-print=ImportAsMember.A -always-argument-labels > %t.printed.A.txt
|
||||
// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -I %t -I %S/Inputs/custom-modules -print-module -source-filename %s -module-to-print=ImportAsMember.B -always-argument-labels > %t.printed.B.txt
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test(mock-sdk: -sdk %S/../Inputs/clang-importer-sdk -I %t -I %S/Inputs/custom-modules) -print-module -source-filename %s -module-to-print=ImportAsMember.C -always-argument-labels > %t.printed.C.txt
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-ide-test(mock-sdk: %clang-importer-sdk) -I %t -I %S/Inputs/custom-modules -print-module -source-filename %s -module-to-print=ImportAsMember.Proto -always-argument-labels > %t.printed.Proto.txt
|
||||
|
||||
// RUN: FileCheck %s -check-prefix=PRINT-PROTO -strict-whitespace < %t.printed.Proto.txt
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir %t
|
||||
// RUN: %target-build-swift -emit-module -module-name Foo -o %t -F %S/Inputs/mock-sdk %s
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t && mkdir %t
|
||||
//
|
||||
// Build swift modules this test depends on.
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend -emit-ir -verify -I %S/../IDE/Inputs/custom-modules %s
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend -emit-silgen -I %S/../IDE/Inputs/custom-modules %s | FileCheck %s
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend -emit-silgen -I %S/../IDE/Inputs/custom-modules %s 2>&1 | FileCheck --check-prefix=SIL %s
|
||||
// REQUIRES: objc_interop
|
||||
import ImportAsMember.A
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend -emit-silgen -I %S/../IDE/Inputs/custom-modules %s 2>&1 | FileCheck --check-prefix=SIL %s
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -I %S/../IDE/Inputs/custom-modules %s -emit-sil | FileCheck %s
|
||||
|
||||
// REQUIRES: objc_interop
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: rdar26099576
|
||||
import Foo
|
||||
|
||||
var x: FooClassBase
|
||||
|
||||
Reference in New Issue
Block a user