Files
swift-mirror/test/api-digester/dump-empty-baseline.swift
Doug Gregor f1fcec14f4 [Test] Generalize api-digester tests to all platforms.
The API digester tests were being run only for macOS, mainly
because they were not using %target-swift consistently. Lift
the unnecessary restriction so we run these tests more widely.
2020-05-01 14:56:01 -07:00

8 lines
395 B
Swift

// RUN: %empty-directory(%t.mod)
// RUN: %empty-directory(%t.sdk)
// RUN: %empty-directory(%t.module-cache)
// RUN: %api-digester -generate-empty-baseline -o %t.result -avoid-tool-args
// RUN: diff -u %S/Outputs/empty-baseline.json %t.result
// RUN: %api-digester -deserialize-sdk -input-paths %S/Outputs/empty-baseline.json -o %t.result
// RUN: diff -u %S/Outputs/empty-baseline.json %t.result