OLD | NEW |
---|---|
(Empty) | |
1 #!/usr/bin/env python | |
2 | |
3 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | |
4 # Use of this source code is governed by a BSD-style license that can be | |
5 # found in the LICENSE file. | |
6 | |
7 """Runs simulation tests and lint on the recipes.""" | |
8 | |
9 import os | |
10 import subprocess | |
11 | |
12 ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) | |
13 | |
14 def recipes_py(*args): | |
15 subprocess.check_call([os.path.join(ROOT_DIR, 'recipes.py')] + list(args)) | |
16 | |
17 recipes_py('simulation_test', '--threshold=92') | |
18 recipes_py('lint') | |
OLD | NEW |