Skip to content

Commit 222b153

Browse files
committed
Remove unnecessary XFAILs
1 parent 21c4e3a commit 222b153

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

test/Frontend/parseable_output.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: %target-swift-frontend -primary-file %s -o %t.out -emit-module -emit-module-path %t.swiftmodule -frontend-parseable-output 2>&1 | %FileCheck %s
22

3-
// XFAIL: freebsd, openbsd, linux
4-
53
// CHECK: {{[1-9][0-9]*}}
64
// CHECK-NEXT: {
75
// CHECK-NEXT: "kind": "began",

test/Frontend/parseable_output_batch.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// RUN: echo 'func foo() {}' > %t/test.swift
44
// RUN: %target-swift-frontend -primary-file %s -primary-file %t/test.swift -o %t.out -o test.tmp.out -module-name parseable_output_batch -emit-module -emit-module-path %t.swiftmodule -module-name test -emit-module -emit-module-path test.tmp.swiftmodule -frontend-parseable-output 2>&1 | %FileCheck %s
55

6-
// XFAIL: freebsd, openbsd, linux
76
// Despite only one frontend invocation, two compile jobs are "begin" and "finish", using quasi-PIDs, on per-primary and its outputs.
87

98
// CHECK: {{[1-9][0-9]*}}

test/Frontend/parseable_output_error.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: not %target-swift-frontend -primary-file %s -o %t.out -emit-module -emit-module-path %t.swiftmodule -frontend-parseable-output 2>&1 | %FileCheck %s
22

3-
// XFAIL: freebsd, openbsd, linux
43
func foo() {
54
return 11;
65
}
@@ -43,7 +42,7 @@ func foo() {
4342
// CHECK-NEXT: {
4443
// CHECK-NEXT: "kind": "finished",
4544
// CHECK-NEXT: "name": "compile",
46-
// CHECK-NEXT: "output": "{{.*[\\/]}}parseable_output_error.swift:5:12: error: unexpected non-void return value in void function{{.*}}return 11;{{.*[\\/]}}parseable_output_error.swift:5:12: note: did you mean to add a return type?{{.*}}return 11;
45+
// CHECK-NEXT: "output": "{{.*[\\/]}}parseable_output_error.swift:4:12: error: unexpected non-void return value in void function{{.*}}return 11;{{.*[\\/]}}parseable_output_error.swift:4:12: note: did you mean to add a return type?{{.*}}return 11;
4746
// CHECK-NEXT: "process": {
4847
// CHECK-NEXT: "real_pid": [[PID]]
4948
// CHECK-NEXT: },

0 commit comments

Comments
 (0)