blob: a7c741d024f9df9fb5c4cc85c025ad09c3b13250 [file] [log] [blame]
#!/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')