mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import sys
|
||||
|
||||
for input_path in sys.argv[1:]:
|
||||
with open(input_path, 'r') as yaml_file:
|
||||
# Forwarding files are YAML files that start with '---'
|
||||
if yaml_file.read(3) != '---':
|
||||
print("swiftmodule '%s' is not a forwarding module!" % input_path)
|
||||
sys.exit(1)
|
||||
Reference in New Issue
Block a user