Skip to content

Commit 3b746be

Browse files
authored
Merge pull request #31206 from nkcsgexi/rdar62111064
test: re-enable api-digester/compare-dump-abi.swift
2 parents 0a0b9f7 + 533e4b2 commit 3b746be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/api-digester/compare-dump-abi.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22
// RUN: %empty-directory(%t.mod2)
33
// RUN: %empty-directory(%t.sdk)
44
// RUN: %empty-directory(%t.module-cache)
5-
// RUN: %empty-directory(%t.baseline)
65
// RUN: %empty-directory(%t.baseline/ABI)
76

8-
// REQUIRES: rdar62111064
9-
107
// RUN: %swift -emit-module -o %t.mod1/cake.swiftmodule %S/Inputs/cake_baseline/cake.swift -parse-as-library -enable-library-evolution -I %S/Inputs/APINotesLeft %clang-importer-sdk-nosource -emit-module-source-info -emit-module-source-info-path %t.mod1/cake.swiftsourceinfo 2> %t.compiler-diags
118
// RUN: %swift -emit-module -o %t.mod2/cake.swiftmodule %S/Inputs/cake_current/cake.swift -parse-as-library -enable-library-evolution -I %S/Inputs/APINotesRight %clang-importer-sdk-nosource -emit-module-source-info -emit-module-source-info-path %t.mod2/cake.swiftsourceinfo
129
// RUN: %api-digester -dump-sdk -module cake -output-dir %t.baseline -module-cache-path %t.module-cache %clang-importer-sdk-nosource -I %t.mod1 -I %S/Inputs/APINotesLeft -abi
@@ -16,7 +13,7 @@
1613
// RUN: diff -u %t.abi.expected %t.abi.result.tmp
1714

1815
// A compiler-style diag to ensure we have source locations associated with breakages.
19-
// RUN: not %api-digester -diagnose-sdk -print-module -baseline-path %t.dump1.json -module cake -I %t.mod2 -I %S/Inputs/APINotesLeft -module-cache-path %t.module-cache %clang-importer-sdk-nosource -abi -o %t.result -compiler-style-diags 2> %t.abi.compiler.diags
16+
// RUN: not %api-digester -diagnose-sdk -print-module -baseline-dir %t.baseline -module cake -I %t.mod2 -I %S/Inputs/APINotesLeft -module-cache-path %t.module-cache %clang-importer-sdk-nosource -abi -o %t.result -compiler-style-diags 2> %t.abi.compiler.diags
2017
// RUN: %FileCheck %s < %t.abi.compiler.diags
2118

2219
// CHECK: cake_current/cake.swift:31:14: error: cake: Class C4 has changed its super class from APINotesTest.OldType to APINotesTest.NewType

0 commit comments

Comments
 (0)