Files
dockerized-swg-src/utils/mocha/test_script.py
T
2015-08-02 11:38:07 -05:00

14 lines
272 B
Python
Executable File

#!/usr/bin/env python
import sys
if len(sys.argv) == 1:
print('''usage: test_script.py <filename> ...
Example: test_script.py '/path/to/file.script' ''')
sys.exit(1)
from mocha.parser import MochaParser
parser = MochaParser()
parser.parse_file(sys.argv[1])