Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 import test_env # pylint: disable=W0403,W0611 | 9 RECIPES_PY = os.path.join( |
| 10 os.path.dirname(os.path.dirname(os.path.realpath(__file__))), | |
| 11 'recipes.py') | |
| 10 | 12 |
| 11 from recipe_engine import simulation_test | 13 args = [sys.argv[0], 'simulation_test'] + sys.argv[1:] |
| 12 from slave import recipe_universe | 14 os.execvp(RECIPES_PY, args) |
|
iannucci
2015/09/15 00:10:48
this may 'splode on windows, not sure.
luqui
2015/09/15 19:17:42
I tested recipes.py bootstrap on Windows which als
| |
| 13 | |
| 14 if __name__ == '__main__': | |
| 15 simulation_test.main(recipe_universe.get_universe()) | |
| OLD | NEW |