mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Ensure that we use the correct python to run the python based tools. This also allows these tools to run on Windows which will not necessarily associate the python script with an interpreter (python).
12 lines
323 B
Swift
12 lines
323 B
Swift
// RUN: %empty-directory(%t)
|
|
// RUN: %{python} %utils/split_file.py -o %t %s
|
|
// RUN: %target-swift-frontend -dump-interface-hash %t/a.swift 2> %t/a.hash
|
|
// RUN: %target-swift-frontend -dump-interface-hash %t/b.swift 2> %t/b.hash
|
|
// RUN: not cmp %t/a.hash %t/b.hash
|
|
|
|
// BEGIN a.swift
|
|
var x: Int
|
|
|
|
// BEGIN b.swift
|
|
var y: Int
|