Merge pull request #84843 from hnrklssn/filecheck-sanitize-tmp-dir

[Utils] Sanitize %t with PathSanitizingFileCheck
This commit is contained in:
Henrik G. Olsson
2025-10-15 15:43:58 -07:00
committed by GitHub
18 changed files with 57 additions and 47 deletions

View File

@@ -221,7 +221,6 @@
//
// DEPCHANGE-DAG: SdkLib.swiftinterface
// DEPCHANGE-DAG: ExportedLib.swiftinterface
// DEPCHANGE-DAG: SDKDependencies.swift
import SdkLib

View File

@@ -4,7 +4,7 @@
// RUN: %target-swift-typecheck-module-from-interface(%t/Test.swiftinterface) -module-name Test -dump-availability-scopes 2>&1 | %FileCheck --strict-whitespace %s
// RUN: %target-swift-frontend -compile-module-from-interface %t/Test.swiftinterface -o /dev/null -module-name Test -dump-availability-scopes 2>&1 | %FileCheck --strict-whitespace %s
// CHECK: {{^}}(root {{.*}} file={{.*}}{{/|\\}}availability-scopes.swift.tmp{{/|\\}}Test.swiftinterface
// CHECK: {{^}}(root {{.*}} file=TMP_DIR{{/|\\}}Test.swiftinterface
// CHECK: {{^}} (decl {{.*}}unavailable=* decl=unavailable()
@available(*, unavailable)
public func unavailable() { }