Skip to content

Commit 6ffd6f5

Browse files
committed
[NFC] Strip Unnecessary %s's out of Tests
%target-typecheck-verify-swift already implies the current file being passed to the frontend - these just lead to duplicate input file errors.
1 parent d7281a1 commit 6ffd6f5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

test/Concurrency/async_main_no_concurrency.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -disable-implicit-concurrency-module-import %s
2-
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -parse-stdlib %s
1+
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -disable-implicit-concurrency-module-import
2+
// RUN: %target-typecheck-verify-swift -parse-as-library -disable-availability-checking -parse-stdlib
33

44
@main struct Main {
55
// expected-error@+1:22{{'_Concurrency' module not imported, required for async main}}

test/Interop/Cxx/templates/function-template-typechecker-errors.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: not %target-typecheck-verify-swift %s -I %S/Inputs -enable-cxx-interop 2>&1 | %FileCheck %s
1+
// RUN: not %target-typecheck-verify-swift -I %S/Inputs -enable-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

test/SILGen/magic_identifier_filepath.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// Even if concise #file is not available, we now allow you to write #filePath.
55
// Check that we don't diagnose any errors in this file.
6-
// RUN: %target-typecheck-verify-swift -module-name Foo %s
6+
// RUN: %target-typecheck-verify-swift -module-name Foo
77

88
// #filePath should appear in swiftinterfaces with this change.
99
// RUN: %target-swift-frontend-typecheck -module-name Foo -emit-module-interface-path %t.swiftinterface %s

test/Sema/impl_throw_objc.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-typecheck-verify-swift %s
1+
// RUN: %target-typecheck-verify-swift
22
// REQUIRES: objc_interop
33

44
import Foundation

validation-test/compiler_crashers_2_fixed/sr13118.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-typecheck-verify-swift %s
1+
// RUN: %target-typecheck-verify-swift
22

33
public struct S<T : Codable> : Codable {
44
var s: [T]!

0 commit comments

Comments
 (0)