| Index: scripts/slave/recipes/gatekeeper.py
|
| diff --git a/scripts/slave/recipes/gatekeeper.py b/scripts/slave/recipes/gatekeeper.py
|
| index a09b5feddbf2a48d66196d2f035f7da4e6dd3607..f3110a5ed44977a7ab5a81b25d36ee30d59736d6 100644
|
| --- a/scripts/slave/recipes/gatekeeper.py
|
| +++ b/scripts/slave/recipes/gatekeeper.py
|
| @@ -19,11 +19,25 @@
|
|
|
|
|
| def GenTests(api):
|
| + # It is okay to use os here because we are reading the file immediately
|
| + # on the simulating machine.
|
| + import os
|
| +
|
| yield (
|
| api.test('basic')
|
| + api.step_data(
|
| 'reading gatekeeper_trees.json',
|
| api.gatekeeper.fake_test_data(),
|
| + )
|
| + )
|
| +
|
| + yield (
|
| + api.test('real')
|
| + + api.step_data(
|
| + 'reading gatekeeper_trees.json',
|
| + api.gatekeeper.read_real_config(
|
| + os.path.join('scripts', 'slave', 'gatekeeper_trees.json')
|
| + ),
|
| )
|
| )
|
|
|
|
|