| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 """Launches the gatekeeper.""" | 5 """Launches the gatekeeper.""" |
| 6 | 6 |
| 7 | 7 |
| 8 DEPS = [ | 8 DEPS = [ |
| 9 'gatekeeper', | 9 'gatekeeper', |
| 10 'path', | 10 'path', |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 yield ( | 26 yield ( |
| 27 api.test('basic') | 27 api.test('basic') |
| 28 + api.step_data( | 28 + api.step_data( |
| 29 'reading gatekeeper_trees.json', | 29 'reading gatekeeper_trees.json', |
| 30 api.gatekeeper.fake_test_data(), | 30 api.gatekeeper.fake_test_data(), |
| 31 ) | 31 ) |
| 32 ) | 32 ) |
| 33 | 33 |
| 34 yield ( | 34 yield ( |
| 35 api.test('real') | |
| 36 + api.step_data( | |
| 37 'reading gatekeeper_trees.json', | |
| 38 api.gatekeeper.read_real_config( | |
| 39 os.path.join('scripts', 'slave', 'gatekeeper_trees.json') | |
| 40 ), | |
| 41 ) | |
| 42 ) | |
| 43 | |
| 44 yield ( | |
| 45 api.test('keep_going') | 35 api.test('keep_going') |
| 46 + api.step_data( | 36 + api.step_data( |
| 47 'reading gatekeeper_trees.json', | 37 'reading gatekeeper_trees.json', |
| 48 api.gatekeeper.fake_test_data(), | 38 api.gatekeeper.fake_test_data(), |
| 49 ) | 39 ) |
| 50 + api.step_data('gatekeeper: chromium', retcode=1) | 40 + api.step_data('gatekeeper: chromium', retcode=1) |
| 51 ) | 41 ) |
| OLD | NEW |