mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
This has been ignored for a long time, and I'd like to get rid of it. R=jchinlee@chromium.org, nodir@chromium.org Change-Id: I240d59cc10a2882041ac2c8abfeb1894237516a6 Reviewed-on: https://chromium-review.googlesource.com/c/1407425 Reviewed-by: Nodir Turakulov <nodir@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
22 lines
513 B
Python
Executable File
22 lines
513 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
# Copyright (c) 2015 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""Runs simulation tests and lint on the recipes."""
|
|
|
|
import os
|
|
import subprocess
|
|
|
|
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
|
def recipes_py(*args):
|
|
subprocess.check_call([
|
|
os.path.join(ROOT_DIR, 'recipes', 'recipes.py')
|
|
] + list(args))
|
|
|
|
recipes_py('test', 'run')
|
|
|
|
recipes_py('lint')
|