Files
swift-mirror/test/ModuleInterface/swift_build_sdk_interfaces/machine-parseable-monotonic-version.py
Harlan Haskins d3b8ce7ae2 [test] Update ParseableInterface to ModuleInterface
Also remove uses of -emit-parseable-module-interface from tests
2019-09-13 14:55:48 -07:00

9 lines
183 B
Python

# RUN: %swift_build_sdk_interfaces -machine-parseable-monotonic-version | \
# RUN: %{python} %s
import sys
lines = list(sys.stdin)
assert len(lines) == 1
assert int(lines[0]) > 0