diff --git a/test/Macros/macro_plugin_basic.swift b/test/Macros/macro_plugin_basic.swift index 9213d3b2a3c58..79e539a0c6513 100644 --- a/test/Macros/macro_plugin_basic.swift +++ b/test/Macros/macro_plugin_basic.swift @@ -17,7 +17,7 @@ // RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \ // RUN: -module-name MyApp \ // RUN: %t/test.swift \ -// RUN: 2>&1 | tee %t/macro-expansions.txt +// RUN: > %t/macro-expansions.txt 2>&1 // RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt @@ -28,7 +28,7 @@ // RUN: -Rmacro-loading \ // RUN: -module-name MyApp \ // RUN: %t/test.swift \ -// RUN: 2>&1 | tee %t/macro-loading.txt +// RUN: > %t/macro-loading.txt 2>&1 // RUN: %FileCheck -check-prefix=DIAGS %s < %t/macro-loading.txt diff --git a/test/Macros/macro_plugin_error.swift b/test/Macros/macro_plugin_error.swift index ebab709d4798c..93668f03fc575 100644 --- a/test/Macros/macro_plugin_error.swift +++ b/test/Macros/macro_plugin_error.swift @@ -17,7 +17,7 @@ // RUN: -load-plugin-executable %t/mock-plugin#TestPlugin \ // RUN: -module-name MyApp \ // RUN: %t/test.swift \ -// RUN: 2>&1 | tee %t/macro-expansions.txt +// RUN: > %t/macro-expansions.txt 2>&1 // RUN: %FileCheck -strict-whitespace %s < %t/macro-expansions.txt