Home | History | Annotate | Download | only in bin
      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 
     13 "${bin_dir}/python_venv" -m pytest lucifer "$@"
     14