Skip to content

Commit b9b0937

Browse files
committed
[Test][PrintAsObjC] Remove process substitution for lit compatibility
1 parent ccea096 commit b9b0937

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

test/PrintAsObjC/unmodified.swift

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@
44
// RUN: %S/../Inputs/getmtime.py %t/out.h > %t/orig-mtime.txt
55

66
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -typecheck -verify -emit-objc-header-path %t/out.h
7-
// RUN: diff %t/orig-mtime.txt <(%S/../Inputs/getmtime.py %t/out.h)
7+
// RUN: %S/../Inputs/getmtime.py %t/out.h > %t/new-mtime.txt
8+
// RUN: diff %t/orig-mtime.txt %t/new-mtime.txt
9+
810

911
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -typecheck -verify -emit-objc-header-path %t/out.h -DPRIVATE_EXTRA
10-
// RUN: diff %t/orig-mtime.txt <(%S/../Inputs/getmtime.py %t/out.h)
12+
// RUN: %S/../Inputs/getmtime.py %t/out.h > %t/private-mtime.txt
13+
// RUN: diff %t/orig-mtime.txt %t/private-mtime.txt
1114

1215
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -typecheck -verify -emit-objc-header-path %t/out.h -DPUBLIC_EXTRA
13-
// RUN: not diff %t/orig-mtime.txt <(%S/../Inputs/getmtime.py %t/out.h)
16+
// RUN: %S/../Inputs/getmtime.py %t/out.h > %t/public-mtime.txt
17+
// RUN: not diff %t/orig-mtime.txt %t/public-mtime.txt
1418

1519
// REQUIRES: objc_interop
1620

0 commit comments

Comments
 (0)