aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/ci
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/ci')
-rw-r--r--xtesting/ci/tier_builder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/ci/tier_builder.py b/xtesting/ci/tier_builder.py
index 66ad3250..67c5b084 100644
--- a/xtesting/ci/tier_builder.py
+++ b/xtesting/ci/tier_builder.py
@@ -63,7 +63,8 @@ class TierBuilder(object):
else:
for dependency in dic_testcase['dependencies']:
kenv = dependency.keys()[0]
- if not re.search(dependency[kenv], env.get(kenv)):
+ if not re.search(dependency[kenv],
+ env.get(kenv) or ''):
testcase.skipped = True
tier.skip_test(testcase)
break