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

Side by Side Diff: infra/unittests/recipes_test.py

Issue 2275263002: infra: add presubmit check for recipes (Closed)
Patch Set: bootstrap Created 4 years, 3 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
« no previous file with comments | « infra/PRESUBMIT.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import os
7 import subprocess
8
9
10 THIS_DIR = os.path.abspath(os.path.dirname(__file__))
11 INFRA_DIR = os.path.dirname(THIS_DIR)
12
13
14 def recipes_py(*args):
15 subprocess.check_call(
16 [os.path.join(INFRA_DIR, 'recipes.py'), '--use-bootstrap'] + list(args))
17
18
19 recipes_py('simulation_test')
20 recipes_py('lint')
OLDNEW
« no previous file with comments | « infra/PRESUBMIT.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698