File: run_tests.sh

package info (click to toggle)
python-os-refresh-config 14.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 192 kB
  • sloc: python: 285; sh: 191; makefile: 18
file content (16 lines) | stat: -rwxr-xr-x 246 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash
#
# Runs all test cases in this directory
#

set -ue
set -o pipefail

TESTS_BASE_DIR=$(cd $(dirname "$0") && pwd)

for tc in ${TESTS_BASE_DIR}/tc??.sh; do
    echo "--- Running ${tc} ---"
    ${tc}
done

echo "--- TESTS COMPLETE ---"