| Index: scripts/slave/recipe_modules/test_utils/test_api.py
|
| diff --git a/scripts/slave/recipe_modules/test_utils/test_api.py b/scripts/slave/recipe_modules/test_utils/test_api.py
|
| index 02486691c5d13afa3c01e27065ca7451c40048a0..1adea8223c3c27a237c6c535bd38b84153576d62 100644
|
| --- a/scripts/slave/recipe_modules/test_utils/test_api.py
|
| +++ b/scripts/slave/recipe_modules/test_utils/test_api.py
|
| @@ -117,7 +117,8 @@ class TestUtilsTestApi(recipe_test_api.RecipeTestApi):
|
| isolated_script_passing=True, valid=True,
|
| missing_shards=[],
|
| empty_shards=[],
|
| - output_chartjson=False):
|
| + output_chartjson=False,
|
| + benchmark_enabled=True):
|
| """Produces a test results' compatible json for isolated script tests. """
|
| per_shard_results = []
|
| per_shard_chartjson_results = []
|
| @@ -138,6 +139,7 @@ class TestUtilsTestApi(recipe_test_api.RecipeTestApi):
|
| jsonish_results['successes'] = []
|
| jsonish_results['times'] = {t : 0.1 for t in tests_run}
|
| chartjsonish_results['dummy'] = 'dummy%d' % i
|
| + chartjsonish_results['enabled'] = benchmark_enabled
|
| chartjsonish_results['charts'] = {'entry%d' % idx: 'chart%d' % idx,
|
| 'entry%d' % (idx + 1): 'chart%d' % (idx + 1)}
|
| per_shard_results.append(jsonish_results)
|
|
|