blob: f1e841b6b71a977babc7a671fa89d3cc83856996 [file] [log] [blame]
#!/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 unit tests.
set -eu
readonly bin_dir="$(readlink -e -- "$(dirname -- "$0")")"
cd "${bin_dir}/.."
exec "${bin_dir}/python_venv" -m pytest "$@"