blob: 86d1b8bf2c0e300a495639c8004c26c66e2bc694 [file] [log] [blame] [edit]
#!/bin/bash
# Copyright 2018 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Runs update_payload unittests
set -e
# Invoke unittest scripts.
for unittest_script in update_payload/*_unittest.py; do
filename=$(basename "${unittest_script}")
python -m update_payload."${filename%.*}"
done
./payload_info_unittest.py
./paycheck_unittest.py
exit 0