blob: e8628ef0bf29d33e1d7cb59edd5337977594c4a1 [file] [log] [blame] [edit]
#!/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 "$@"