Index: infra/unittests/recipes_test.py |
diff --git a/infra/unittests/recipes_test.py b/infra/unittests/recipes_test.py |
new file mode 100755 |
index 0000000000000000000000000000000000000000..7713425b92697bbdd31f64cf992a181583b80b16 |
--- /dev/null |
+++ b/infra/unittests/recipes_test.py |
@@ -0,0 +1,20 @@ |
+#!/usr/bin/env python |
+# Copyright 2016 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. |
+ |
+import os |
+import subprocess |
+ |
+ |
+THIS_DIR = os.path.abspath(os.path.dirname(__file__)) |
+INFRA_DIR = os.path.dirname(THIS_DIR) |
+ |
+ |
+def recipes_py(*args): |
+ subprocess.check_call( |
+ [os.path.join(INFRA_DIR, 'recipes.py'), '--use-bootstrap'] + list(args)) |
+ |
+ |
+recipes_py('simulation_test') |
+recipes_py('lint') |