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:
Mark Lacey
2016-05-04 16:35:53 -07:00
parent 0f2c30f92a
commit caeefd6fb8
32 changed files with 32 additions and 0 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: %target-swift-frontend -parse -verify -import-cf-types -I %S/Inputs/custom-modules %s
// REQUIRES: objc_interop

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: rm -rf %t && mkdir %t
// RUN: %build-clang-importer-objc-overlays

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: %target-parse-verify-swift -F %S/Inputs/mock-sdk
// XFAIL: linux

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
import Foo
import FooHelper

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: rm -rf %t && mkdir %t
//
// Build swift modules this test depends on.

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: rm -rf %t
// RUN: mkdir -p %t

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: rm -rf %t
// RUN: mkdir -p %t

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: rm -rf %t
// RUN: mkdir -p %t

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: %target-swift-frontend -emit-ir -verify -I %S/../IDE/Inputs/custom-modules %s
// REQUIRES: objc_interop

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
// RUN: %target-swift-frontend -emit-silgen -I %S/../IDE/Inputs/custom-modules %s | FileCheck %s
// REQUIRES: objc_interop

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,3 +1,4 @@
// REQUIRES: rdar26099576
import Foo
var x: FooClassBase