Merge remote-tracking branch 'origin/cedar' into cedar-merge

* origin/cedar:
  tcmode-external-sourcery: Add MGLS_LICENSE_FILE if not found in environment

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
Christopher Larson
2016-03-25 20:08:44 -07:00

View File

@@ -173,7 +173,7 @@ python toolchain_metadata_setup () {
testenv = os.environ.copy()
for var in ['MGLS_LICENSE_FILE', 'LM_LICENSE_FILE']:
if var in d:
testenv[var] = d.getVar(var, True)
testenv[var] = d.getVar(var, True)
with tempfile.NamedTemporaryFile(suffix='.c') as f:
try: