Allen Li | 20dd90f | 2017-07-17 12:27:10 -0700 | [diff] [blame] | 1 | #!/bin/bash |
2 | # Copyright 2017 The Chromium OS Authors. All rights reserved. | ||||
3 | # Use of this source code is governed by a BSD-style license that can be | ||||
4 | # found in the LICENSE file. | ||||
5 | # | ||||
6 | # Run tests for lucifer. | ||||
7 | set -eu | ||||
8 | readonly bin_dir="$(readlink -e -- "$(dirname -- "$0")")" | ||||
9 | |||||
10 | # cd for pytest configuration files | ||||
11 | cd "$bin_dir/../venv" | ||||
12 | |||||
Allen Li | cc15350 | 2017-09-15 16:08:25 -0700 | [diff] [blame] | 13 | "${bin_dir}/python_venv" -m pytest lucifer "$@" |