| Index: scripts/slave/recipe_modules/filter/example.py
|
| diff --git a/scripts/slave/recipe_modules/filter/example.py b/scripts/slave/recipe_modules/filter/example.py
|
| index d2bb3e3e382015c19f279d071b6ee9eeb8486c83..83c66b0284ba5beb44aff20ec877297fd6af3d53 100644
|
| --- a/scripts/slave/recipe_modules/filter/example.py
|
| +++ b/scripts/slave/recipe_modules/filter/example.py
|
| @@ -60,7 +60,17 @@ def GenTests(api):
|
| api.json.output({'status': 'Found dependency',
|
| 'targets': []})))
|
|
|
| - # Analyze returns matching tests.
|
| + # Analyze returns matching tests while matching all.
|
| + yield (api.test('analyzes_matches_all_exes') +
|
| + api.properties(matching_exes=['foo', 'bar']) +
|
| + api.properties(example_matching_exes=['foo']) +
|
| + api.properties(example_result=1) +
|
| + api.override_step_data(
|
| + 'analyze',
|
| + api.json.output({'status': 'Found dependency (all)',
|
| + 'targets': ['foo']})))
|
| +
|
| + # Analyze matches all and returns matching tests.
|
| yield (api.test('analyzes_matches_exes') +
|
| api.properties(matching_exes=['foo', 'bar']) +
|
| api.properties(example_matching_exes=['foo']) +
|
|
|