Commit d80b1582 authored by Andrea Valassi's avatar Andrea Valassi
Browse files

Fix check for supported platforms in COOLTests.py


git-svn-id: file:///git/lcgcool.svndb/cool/trunk@19905 4525493e-7705-40b1-a816-d608a930855b
parent 086b46f9
......@@ -313,14 +313,12 @@ class StandardTest(ShellCommandTest):
def GetPlatform(self):
"""
Return the platform Id defined in CMTCONFIG or SCRAM_ARCH.
Return the platform Id defined in BINARY_TAG.
"""
arch = "None"
# check architecture name
if "CMTCONFIG" in os.environ:
arch = os.environ["CMTCONFIG"]
elif "SCRAM_ARCH" in os.environ:
arch = os.environ["SCRAM_ARCH"]
if "BINARY_TAG" in os.environ:
arch = os.environ["BINARY_TAG"]
return arch
def Run(self, context, result):
......
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