6 reference
= subprocess
.check_output([sys
.argv
[1]])
7 compare
= subprocess
.check_output(sys
.argv
[2:])
9 for line
in difflib
.unified_diff(reference
.split('\n'), compare
.split('\n'), fromfile
='cc', tofile
='tcc', lineterm
=''):
12 sys
.exit(1 if failed
else 0)
14 if __name__
== '__main__':