Files
swift-mirror/test/Serialization/embedded-swiftdeps.swift
Robert Widmann 80db895ba2 [NFC] Adapt Tests to the New Default
Now that incremental imports are the default, flip the polarity in some tests.
2021-03-01 17:26:00 -08:00

17 lines
1.1 KiB
Swift

// RUN: %empty-directory(%t)
// RUN: %target-swift-frontend -emit-module -module-name EmbeddedIncremental -o %t/EmbeddedIncremental~partial.swiftmodule -primary-file %s
// RUN: %target-swift-frontend -emit-module -merge-modules -module-name EmbeddedIncremental -o %t/EmbeddedIncremental.swiftmodule %t/EmbeddedIncremental~partial.swiftmodule
// RUN: llvm-bcanalyzer -dump %t/EmbeddedIncremental.swiftmodule | %FileCheck %s --dump-input=always
// RUN: %target-swift-frontend -emit-module -disable-incremental-imports -module-name NoEmbeddedIncremental -o %t/NoEmbeddedIncremental~partial.swiftmodule -primary-file %s
// RUN: %target-swift-frontend -emit-module -merge-modules -disable-incremental-imports -module-name NoEmbeddedIncremental -o %t/NoEmbeddedIncremental.swiftmodule %t/NoEmbeddedIncremental~partial.swiftmodule
// RUN: llvm-bcanalyzer -dump %t/NoEmbeddedIncremental.swiftmodule | %FileCheck %s --dump-input=always --check-prefix=NO-INCREMENTAL-IMPORTS
public struct AnyWindows {}
// CHECK: <INCREMENTAL_INFORMATION_BLOCK
// CHECK: </INCREMENTAL_INFORMATION_BLOCK>
// NO-INCREMENTAL-IMPORTS-NOT: <INCREMENTAL_INFORMATION_BLOCK