| Index: unittests/stdlib_test.py
|
| diff --git a/unittests/stdlib_test.py b/unittests/stdlib_test.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..c7f5bd7ecc763f417c8b12d18a95e2e6a580892c
|
| --- /dev/null
|
| +++ b/unittests/stdlib_test.py
|
| @@ -0,0 +1,17 @@
|
| +#!/usr/bin/env python
|
| +
|
| +"""Runs simulation tests and lint on the standard recipe modules."""
|
| +
|
| +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.py'),
|
| + '--package', os.path.join(ROOT_DIR, 'infra', 'config', 'recipes.cfg')] +
|
| + list(args))
|
| +
|
| +recipes_py('simulation_test', '--threshold=90')
|
| +recipes_py('lint')
|
|
|