| Index: recipe_modules/platform/example.py
|
| diff --git a/recipe_modules/platform/example.py b/recipe_modules/platform/example.py
|
| index ca7924c2beaba6bdf121675502b613bde23dac56..b03124e4ea9fb8523a5e8361898062f7aa3753c3 100644
|
| --- a/recipe_modules/platform/example.py
|
| +++ b/recipe_modules/platform/example.py
|
| @@ -12,9 +12,11 @@ def RunSteps(api):
|
| step_result.presentation.logs['name'] = [api.platform.name]
|
| step_result.presentation.logs['bits'] = [str(api.platform.bits)]
|
| step_result.presentation.logs['arch'] = [api.platform.arch]
|
| + step_result.presentation.logs['cpu_count'] = [str(api.platform.cpu_count)]
|
|
|
|
|
| def GenTests(api):
|
| yield api.test('linux64') + api.platform('linux', 64)
|
| yield api.test('mac64') + api.platform('mac', 64)
|
| yield api.test('win32') + api.platform('win', 32)
|
| + yield api.test('four_cores') + api.platform.cpu_count(4)
|
|
|