Skip to content

Commit

Permalink
tidied tests
Browse files Browse the repository at this point in the history
  • Loading branch information
keithy committed Aug 17, 2019
1 parent c86b05b commit e57b916
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
language: bash

script:
- make
- make -C tests
5 changes: 0 additions & 5 deletions Makefile

This file was deleted.

5 changes: 5 additions & 0 deletions tests/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TESTS ?= $(wildcard *.sh)

include Makefile.test


File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. "$DIR/../bash-spec.sh"
. "$DIR/../../bash-spec.sh"

describe "The bash version test" && {

Expand Down
2 changes: 1 addition & 1 deletion fails/test_counters.sh → tests/fails/test_counters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi
. "$DIR/../bash-spec.sh"
. "$DIR/../../bash-spec.sh"

describe "A simple test" "$(
Expand Down

0 comments on commit e57b916

Please sign in to comment.