|
@@ -2,7 +2,7 @@ all:
|
|
-@for FILE in $(wildcard *.sh) ; do \
|
|
-@for FILE in $(wildcard *.sh) ; do \
|
|
if [ -f $$FILE ] ; then \
|
|
if [ -f $$FILE ] ; then \
|
|
if [ -x $$FILE ] ; then \
|
|
if [ -x $$FILE ] ; then \
|
|
- echo "run test:" `head "$$FILE" -n 2 | tail -n 1 | cut -c 3-` ; \
|
|
|
|
|
|
+ echo "run test `basename $$FILE .sh`:" `head "$$FILE" -n 2 | tail -n 1 | cut -c 3-` ; \
|
|
./$$FILE ; \
|
|
./$$FILE ; \
|
|
ret=$$? ; \
|
|
ret=$$? ; \
|
|
if [ "$$ret" -eq 0 ] ; then \
|
|
if [ "$$ret" -eq 0 ] ; then \
|