[testrunner] Allow Testrunner values to be used as conditions i.e. like flags.
@@ -477,6 +477,10 @@ class TestRunner(object):
unfulfilled_conditions = []
for condition in test.conditions:
negate, name = self._is_negated(condition)
+ if name in self._values:
+ # this is a handy way to set flags from the outside
+ err, val = None, self._values[name]
+ else:
err, val = self._get_condition(name, iterargs)
if negate:
val = not val
