tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'

These changes were made using a script.
This commit is contained in:
Dmitri Gribenko
2016-09-03 11:32:25 -07:00
committed by Robert Widmann
parent d54e5b2326
commit 486cab447d
290 changed files with 309 additions and 300 deletions

View File

@@ -1,5 +1,4 @@
// RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: %empty-directory(%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

View File

@@ -1,5 +1,4 @@
// RUN: rm -rf %t
// RUN: mkdir -p %t
// RUN: %empty-directory(%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: llvm-ar cr %t/import_experimental.a %t/import_experimental.o