[test] print commented line, like the original script (#649)

This commit is contained in:
ebraminio 2017-12-07 12:24:12 +03:30 committed by GitHub
parent 71ad2777c5
commit 20e69c950d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,12 +62,12 @@ for f in args:
f = open (f)
for line in f:
if line.startswith ("#"):
continue
fontfile, options, unicodes, glyphs_expected = line.split (":")
if not reference:
print ("# hb-shape %s --unicodes %s" % (fontfile, unicodes))
if line.startswith ("#"):
if not reference:
print ("# hb-shape %s --unicodes %s" % (fontfile, unicodes))
continue
if not reference:
print ("hb-shape %s %s %s --unicodes %s" %