File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ clean:
32
32
33
33
all : $(PKG ) $(SIG )
34
34
35
+ test :
36
+ SHELL=` which bash` ./test/runner
37
+ SHELL=` which zsh` ./test/runner
38
+
35
39
tag :
36
40
git push
37
41
git tag -s -m " Tagging $( VERSION) " v$(VERSION )
@@ -49,4 +53,4 @@ uninstall:
49
53
for file in $( INSTALL_FILES) ; do rm -f $( PREFIX) /$$ file; done
50
54
rm -rf $(DOC_DIR )
51
55
52
- .PHONY : build sign clean tag release install uninstall all
56
+ .PHONY : build sign clean test tag release install uninstall all
Original file line number Diff line number Diff line change @@ -6,12 +6,8 @@ function log() {
6
6
fi
7
7
}
8
8
9
- SHELLS=(bash zsh)
9
+ log " Running tests under $SHELL ... "
10
10
11
- for shell in ${SHELLS[@]} ; do
12
- log " Running tests under $shell ..."
13
-
14
- for test in $( dirname $0 ) /* _test.sh; do
15
- $shell $test
16
- done
11
+ for test in $( dirname $0 ) /* _test.sh; do
12
+ $SHELL $test
17
13
done
You can’t perform that action at this time.
0 commit comments