mirror of
https://github.com/boostorg/histogram.git
synced 2026-02-18 14:12:11 +00:00
18 lines
443 B
Python
Executable File
18 lines
443 B
Python
Executable File
#!/usr/bin/env python
|
|
import sys
|
|
import glob
|
|
import os
|
|
import re
|
|
|
|
for ifile in ("test/Jamfile", "examples/Jamfile"):
|
|
dir = os.path.dirname(ifile)
|
|
|
|
cpp = set([os.path.basename(x) for x in glob.glob(dir + "/*.cpp")])
|
|
run = set(re.findall("([a-zA-Z0-9_]+\.cpp)", open(ifile).read()))
|
|
|
|
diff = cpp - run
|
|
|
|
if diff:
|
|
raise SystemExit("NOT TESTED\n" +
|
|
"\n".join(["%s/%s" % (dir, x) for x in diff]))
|