Index: tools/test.py |
diff --git a/tools/test.py b/tools/test.py |
index e3896d3f3ea7298ee180fa95cacf4faed1a08709..233eac1c86cf1095043fd61a8f1534c0caf72c52 100755 |
--- a/tools/test.py |
+++ b/tools/test.py |
@@ -660,6 +660,9 @@ class Variable(Expression): |
return ListSet([env[self.name]]) |
else: return Nothing() |
+ def Evaluate(self, env, defs): |
+ return env[self.name] |
+ |
class Outcome(Expression): |
@@ -979,8 +982,8 @@ class Configuration(object): |
Args: |
cases: list of TestCase objects to classify. |
- env: dictionary containing values for 'mode': mode, |
- 'system' and 'arch'. |
+ env: dictionary containing values for 'mode', |
+ 'system', 'arch' and 'checked'. |
Returns: |
A triplet of (result, rules, expected_outcomes). |
@@ -1426,6 +1429,7 @@ def Main(): |
'mode': mode, |
'system': utils.GuessOS(), |
'arch': arch, |
+ 'checked': options.checked |
} |
test_list = root.ListTests([], path, context, mode, arch) |
(cases, unused_rules, unused_outcomes) = config.ClassifyTests( |