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.
14 lines
320 B
14 lines
320 B
#!/usr/bin/env python3 |
|
|
|
import os |
|
import sys |
|
|
|
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
|
|
|