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

Fix check for supported platforms in

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