Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Side by Side Diff: unittests/stdlib_test.py

Issue 2721613004: simulation_test_ng: initial CL (Closed)
Patch Set: revised Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2015 The LUCI Authors. All rights reserved. 2 # Copyright 2015 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed under the Apache License, Version 2.0 3 # Use of this source code is governed under the Apache License, Version 2.0
4 # that can be found in the LICENSE file. 4 # that can be found in the LICENSE file.
5 5
6 """Runs simulation tests and lint on the standard recipe modules.""" 6 """Runs simulation tests and lint on the standard recipe modules."""
7 7
8 import os 8 import os
9 import subprocess 9 import subprocess
10 10
11 import repo_test_util 11 import repo_test_util
12 from repo_test_util import ROOT_DIR 12 from repo_test_util import ROOT_DIR
13 13
14 def recipes_py(*args): 14 def recipes_py(*args):
15 subprocess.check_call([ 15 subprocess.check_call([
16 os.path.join(ROOT_DIR, 'recipes.py'), '--use-bootstrap', 16 os.path.join(ROOT_DIR, 'recipes.py'), '--use-bootstrap',
17 '--package', os.path.join(ROOT_DIR, 'infra', 'config', 'recipes.cfg')] + 17 '--package', os.path.join(ROOT_DIR, 'infra', 'config', 'recipes.cfg')] +
18 list(args)) 18 list(args))
19 19
20 # Run both current simulation test logic (simulation_test), and experimental
21 # (test). Eventually the former will be removed.
20 recipes_py('simulation_test') 22 recipes_py('simulation_test')
23 recipes_py('test', 'run')
24
21 recipes_py('lint') 25 recipes_py('lint')
OLDNEW
« recipe_engine/test.py ('K') | « recipes.py ('k') | unittests/test_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698