mirror of https://github.com/k3d-io/k3d
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
553 B
23 lines
553 B
5 years ago
|
#!/bin/bash
|
||
|
|
||
|
CURR_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
|
||
|
[ -d "$CURR_DIR" ] || { echo "FATAL: no current dir (maybe running in zsh?)"; exit 1; }
|
||
|
|
||
|
# shellcheck source=./common.sh
|
||
|
source "$CURR_DIR/common.sh"
|
||
|
|
||
|
#########################################################################################
|
||
|
|
||
|
[ -n "$EXE" ] || abort "no EXE provided"
|
||
|
|
||
|
info "Starting e2e tests..."
|
||
|
|
||
|
for i in $CURR_DIR/test_*.sh ; do
|
||
|
base=$(basename $i .sh)
|
||
|
highlight "***** Running $base *****"
|
||
|
$i || abort "test $base failed"
|
||
|
done
|
||
|
|
||
|
exit 0
|
||
|
|