Skip to content

Commit 566ec23

Browse files
committed
tests/test_runner.sh: remove some redundancies
This wrapper doesn't need to load anything from helpers.bash, because the various .bats files already do so on their own. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
1 parent 2fb44ab commit 566ec23

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

tests/test_runner.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,10 @@ cd "$(dirname "$(readlink -f "$BASH_SOURCE")")"
77
# labels than /tmp, which is often on tmpfs.
88
export TMPDIR=${TMPDIR:-/var/tmp}
99

10-
# Load the helpers.
11-
. helpers.bash
12-
1310
function execute() {
1411
>&2 echo "++ $@"
1512
eval "$@"
1613
}
1714

18-
# Tests to run. Defaults to all.
19-
TESTS=${@:-.}
20-
2115
# Run the tests.
22-
execute time bats --tap $TESTS
16+
execute time bats --tap "${@:-.}"

0 commit comments

Comments
 (0)