mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
12 lines
891 B
Swift
12 lines
891 B
Swift
// REQUIRES: VENDOR=apple
|
|
|
|
// RUN: %empty-directory(%t.mod)
|
|
// RUN: %empty-directory(%t.sdk)
|
|
// RUN: %empty-directory(%t.module-cache)
|
|
// RUN: %api-digester -dump-sdk -module APINotesTest -o %t.dump1.json -module-cache-path %t.module-cache %clang-importer-sdk-nosource -swift-version 5 -I %S/Inputs/APINotesLeft -migrator
|
|
// RUN: %api-digester -dump-sdk -module APINotesTest -o %t.dump2.json -module-cache-path %t.module-cache %clang-importer-sdk-nosource -swift-version 5 -I %S/Inputs/APINotesRight -migrator
|
|
// RUN: %api-digester -generate-migration-script --input-paths %t.dump1.json -input-paths %t.dump2.json -o %t.result -json
|
|
// RUN: diff -u %S/Outputs/apinotes-migrator-gen.json %t.result
|
|
// RUN: %api-digester -generate-migration-script --input-paths %t.dump2.json -input-paths %t.dump1.json -o %t.result -json
|
|
// RUN: diff -u %S/Outputs/apinotes-migrator-gen-revert.json %t.result
|