Skip to content

Commit

Permalink
[test/Index/Store] Remove the XFAILs for linux on some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
akyrtzi committed Sep 12, 2018
1 parent cd7a9bc commit 3ce71a3
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 24 deletions.
2 changes: 0 additions & 2 deletions test/Index/Store/driver-multiple-inputs.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// Make sure the indexing invocation through the driver works.

// RUN: %empty-directory(%t)
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/record-comments.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// RUN: %target-swift-frontend -index-store-path %t/idx -o %t.o -typecheck %s
// RUN: c-index-test core -print-record %t/idx | %FileCheck %s

// XFAIL: linux

// CHECK: record-comments.swift
// CHECK: ------------
// CHECK: comment-tag/Swift | <no-name> | t:this_is_a_tag | <no-cgname> | Def -
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/record-dependency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
// TWO_RECORDS: Record | user | {{.*}}s2.swift | s2.swift-
// TWO_RECORDS: DEPEND END

// XFAIL: linux

func foo() {}
2 changes: 0 additions & 2 deletions test/Index/Store/record-empty.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@
// RUN: %target-swift-frontend -index-store-path %t/idx -o %t/file.o -typecheck %s
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s
// CHECK-NOT: Record{{.*}}record-empty

// XFAIL: linux
2 changes: 0 additions & 2 deletions test/Index/Store/record-sourcefile.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
// RUN: c-index-test core -print-record %t/idx1 | %FileCheck %s
// RUN: c-index-test core -print-record %t/idx2 | %FileCheck %s

// XFAIL: linux

// CHECK: record-sourcefile.swift
// CHECK: ------------
// CHECK: struct/Swift | S1 | s:4file2S1V | <no-cgname> | Def,Ref,RelCont -
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/record-with-compile-error.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -index-store-path %t/idx -o %t/file.o -typecheck %s -verify
// RUN: c-index-test core -print-record %t/idx | %FileCheck %s
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-from-compile.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -c -index-store-path %t/idx %s -o %t/file1.o -module-name some_module_test
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-multiple-sourcefiles.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

//===--- Building source files separately with a module merge at the end

// RUN: %empty-directory(%t)
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-one-file-multi-file-invocation.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// RUN: rm -rf %t
// RUN: %target-build-swift -index-file -index-file-path %s %s %S/Inputs/SwiftModuleA.swift -module-name unit_one_test -o %t.output_for_index -index-store-path %t/idx
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefix=UNIT
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-one-sourcefile.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// RUN: rm -rf %t
// RUN: %target-swift-frontend -index-store-path %t/idx %s -o %t/file1.o -typecheck
// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s -check-prefix=FILE1
Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-swiftmodule-dependency.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

// RUN: c-index-test core -print-unit %t/idx | %FileCheck %s

// XFAIL: linux

import SwiftModuleA
import SwiftModuleB

Expand Down
2 changes: 0 additions & 2 deletions test/Index/Store/unit-with-bridging-header.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// XFAIL: linux

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -emit-pch -index-store-path %t/idx -o %t/bridge-head.pch %S/Inputs/bridge-head.h
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) -typecheck -import-objc-header %t/bridge-head.pch -primary-file %s -o %t/s1.o -index-store-path %t/idx
Expand Down

0 comments on commit 3ce71a3

Please sign in to comment.