added glshim library

This commit is contained in:
lubomyr
2015-02-09 20:25:03 +00:00
parent e5e9109652
commit 967c18296e
143 changed files with 231962 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import os
import sys
def walk(base):
for root, _, files in os.walk(base):
for name in files:
yield os.path.join(root, name)
if __name__ == '__main__':
failed = False
for name in walk('tests'):
if name.endswith('.c'):
with open(name, 'r') as f:
data = f.read()
if not 'mock_return;' in data:
print 'ERROR: "{}" has no mock_return;'.format(name)
failed = True
if failed:
sys.exit(1)