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
226 B

#!/usr/bin/env python3
import os
import sys
assert len(sys.argv) == 3
fname = sys.argv[1]
check_str = sys.argv[2]
assert os.path.isfile(fname)
with open(fname, 'r', encoding='utf-8') as f:
assert check_str in f.read()