Commit df564994 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

identify SPEC OMP2001

parent eb9b52fa
......@@ -24,11 +24,12 @@ for filename in "shrc README LICENSE MANIFEST".split():
def identify_suite():
"""Which SPEC suite are we in?"""
for line in file("README"):
possibilities = ["SPEC CPU2000", "SPEC CPU2006"]
possibilities = ["SPEC CPU2000", "SPEC CPU2006", "SPEC OMP2001"]
if line.startswith("---"): break
for p in possibilities:
if p in line:
return p
print "Unknown SPEC suite (if at all)"
print "Error: Unknown SPEC suite (if at all)"
SPEC_SUITE = identify_suite()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment