harfbuzz/test/shaping/hb-diff
Behdad Esfahbod 91540a7d97 Move most testing logic into hb_test_tools.py
The actual utils are one-liners now.
2012-01-20 18:28:10 -05:00

15 lines
295 B
Python
Executable File

#!/usr/bin/python
from hb_test_tools import *
import sys, os
if len (sys.argv) != 3:
print "usage: %s [--color] file1 file2" % sys.argv[0]
sys.exit (1)
colors = Colors.Auto (sys.argv)
f1, f2 = (open_file_or_stdin (f) for f in sys.argv[1:3])
FancyDiffer.diff_files (f1, f2, colors=colors)