mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
One of the two issues preventing us from running test/api-digester/stability-stdlib-abi.swift in swift-evolve tests has been fixed; delete the comment referencing it. There’s another bug that still needs to be fixed, so we still aren’t running this yet.
13 lines
906 B
Swift
13 lines
906 B
Swift
// REQUIRES: OS=macosx
|
|
// RUN: %empty-directory(%t.tmp)
|
|
// mkdir %t.tmp/module-cache && mkdir %t.tmp/dummy.sdk
|
|
// RUN: %api-digester -dump-sdk -module Swift -o %t.tmp/current-stdlib.json -module-cache-path %t.tmp/module-cache -sdk %t.tmp/dummy.sdk -abi -avoid-location
|
|
// RUN: %api-digester -diagnose-sdk -input-paths %S/Inputs/stdlib-stable-abi.json -input-paths %t.tmp/current-stdlib.json -abi -o %t.tmp/changes.txt -v
|
|
// RUN: %clang -E -P -x c %S/Outputs/stability-stdlib-abi.swift.expected -o - | sed '/^\s*$/d' | sort > %t.tmp/stability-stdlib-abi.swift.expected
|
|
// RUN: %clang -E -P -x c %t.tmp/changes.txt -o - | sed '/^\s*$/d' | sort > %t.tmp/changes.txt.tmp
|
|
// RUN: diff -u %t.tmp/stability-stdlib-abi.swift.expected %t.tmp/changes.txt.tmp
|
|
|
|
// The digester can incorrectly register a generic signature change when
|
|
// declarations are shuffled. rdar://problem/46618883
|
|
// UNSUPPORTED: swift_evolve
|