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

Side by Side Diff: unittests/stdlib_test.py

Issue 1421843006: Add simple depends_on API. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/recipes-py@master
Patch Set: Fix small broken tests, add invoke tests, respond to nits. Created 5 years, 1 month 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 2
3 """Runs simulation tests and lint on the standard recipe modules.""" 3 """Runs simulation tests and lint on the standard recipe modules."""
4 4
5 import os 5 import os
6 import subprocess 6 import subprocess
7 7
8 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 8 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
9 9
10 def recipes_py(*args): 10 def recipes_py(*args):
11 subprocess.check_call([ 11 subprocess.check_call([
12 os.path.join(ROOT_DIR, 'recipes.py'), 12 os.path.join(ROOT_DIR, 'recipes.py'),
13 '--package', os.path.join(ROOT_DIR, 'infra', 'config', 'recipes.cfg')] + 13 '--package', os.path.join(ROOT_DIR, 'infra', 'config', 'recipes.cfg')] +
14 list(args)) 14 list(args))
15 15
16 recipes_py('simulation_test', '--threshold=90') 16 recipes_py('simulation_test', '--threshold=91')
17 recipes_py('lint') 17 recipes_py('lint')
OLDNEW
« recipe_engine/unittests/loader_test.py ('K') | « recipes/engine_tests/top.expected/basic.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698