mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Migrate FileCheck to %FileCheck in tests
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// RUN: %target-swiftc_driver -c %s -o %t
|
||||
// RUN: %target-swift-autolink-extract %t -o - | FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
// RUN: %target-swift-autolink-extract %t -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
|
||||
// REQUIRES: autolink-extract
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// RUN: %target-swiftc_driver -c %s -o %t
|
||||
// RUN: rm -f %t.a
|
||||
// RUN: llvm-ar cr %t.a %t
|
||||
// RUN: %target-swift-autolink-extract %t.a -o - | FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
// RUN: %target-swift-autolink-extract %t.a -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
|
||||
// REQUIRES: autolink-extract
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// RUN: %target-swiftc_driver -c %s -o %t
|
||||
// RUN: not %target-swift-autolink-extract 2>&1 | FileCheck %s
|
||||
// RUN: not %target-swift-autolink-extract 2>&1 | %FileCheck %s
|
||||
|
||||
// REQUIRES: autolink-extract
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// RUN: mkdir -p %t
|
||||
// RUN: %target-swiftc_driver -emit-library -emit-module -emit-module-path %t/empty.swiftmodule -module-name empty -module-link-name empty %S/empty.swift
|
||||
// RUN: %target-swiftc_driver -c %s -I %t -o %t/import_experimental.o
|
||||
// RUN: %target-swift-autolink-extract %t/import_experimental.o -o - | FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
// RUN: %target-swift-autolink-extract %t/import_experimental.o -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
|
||||
// REQUIRES: autolink-extract
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// RUN: %target-swiftc_driver -emit-library -emit-module -emit-module-path %t/empty.swiftmodule -module-name empty -module-link-name empty %S/empty.swift
|
||||
// RUN: %target-swiftc_driver -c %s -I %t -o %t/import_experimental.o
|
||||
// RUN: llvm-ar cr %t/import_experimental.a %t/import_experimental.o
|
||||
// RUN: %target-swift-autolink-extract %t/import_experimental.a -o - | FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
// RUN: %target-swift-autolink-extract %t/import_experimental.a -o - | %FileCheck --check-prefix CHECK-%target-object-format %s
|
||||
|
||||
// REQUIRES: autolink-extract
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
; RUN: llc -mtriple armv7--linux-gnueabihf -filetype obj -o - %s | %target-swift-autolink-extract -o - - | FileCheck %s
|
||||
; RUN: llc -mtriple x86_64--windows-gnu -filetype obj -o - %s | %target-swift-autolink-extract -o - - | FileCheck %s
|
||||
; RUN: llc -mtriple x86_64--windows-cygnus -filetype obj -o - %s | %target-swift-autolink-extract -o - - | FileCheck %s
|
||||
; RUN: llc -mtriple armv7--linux-gnueabihf -filetype obj -o - %s | %target-swift-autolink-extract -o - - | %FileCheck %s
|
||||
; RUN: llc -mtriple x86_64--windows-gnu -filetype obj -o - %s | %target-swift-autolink-extract -o - - | %FileCheck %s
|
||||
; RUN: llc -mtriple x86_64--windows-cygnus -filetype obj -o - %s | %target-swift-autolink-extract -o - - | %FileCheck %s
|
||||
; REQUIRES: autolink-extract
|
||||
|
||||
; Ensure that the options in the object file preserve ordering. The linker
|
||||
|
||||
Reference in New Issue
Block a user