The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
320 B
15 lines
320 B
8 years ago
|
#!/usr/bin/env python3
|
||
|
|
||
|
import os
|
||
|
import sys
|
||
|
|
||
7 years ago
|
if len(sys.argv) == 2:
|
||
|
assert(os.path.exists(sys.argv[1]))
|
||
|
elif len(sys.argv) == 3:
|
||
|
f1 = open(sys.argv[1], 'rb').read()
|
||
|
f2 = open(sys.argv[2], 'rb').read()
|
||
|
if f1 != f2:
|
||
|
raise RuntimeError('{!r} != {!r}'.format(f1, f2))
|
||
|
else:
|
||
|
raise AssertionError
|