perf_test.py: implement -i option

This commit is contained in:
Even Rouault 2017-05-11 20:18:42 +02:00
parent 8650b70e06
commit 0ecac46a1d
1 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,9 @@ while i < len(sys.argv):
if sys.argv[i] == '-o' and i + 1 < len(sys.argv):
i += 1
out_filename = sys.argv[i]
elif sys.argv[i] == '-i' and i + 1 < len(sys.argv):
i += 1
in_filename = sys.argv[i]
elif sys.argv[i] == '-q':
quiet = True
elif sys.argv[i] == '-kakadu':