mirror of
https://github.com/containers/buildah.git
synced 2026-02-05 09:45:38 +01:00
16 lines
264 B
Bash
Executable File
16 lines
264 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
|
|
|
|
# Default to using /tmp for test space.
|
|
export TMPDIR=${TMPDIR:-/tmp}
|
|
|
|
function execute() {
|
|
>&2 echo "++ $@"
|
|
eval "$@"
|
|
}
|
|
|
|
# Run the tests.
|
|
execute time bats -j $(nproc) --tap "${@:-.}"
|