#!/bin/bash | |
# Copyright 2017 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
# | |
# Run tests for lucifer. | |
set -eu | |
readonly bin_dir="$(readlink -e -- "$(dirname -- "$0")")" | |
# cd for pytest configuration files | |
cd "$bin_dir/../venv" | |
"${bin_dir}/python_venv" -m pytest lucifer "$@" |