t/Makefile: OPTS -> GIT_TEST_OPTS
authorPetr Baudis <pasky@ucw.cz>
Sat, 14 May 2005 15:58:22 +0000 (17:58 +0200)
committerPetr Baudis <xpasky@machine.sinus.cz>
Sat, 14 May 2005 15:58:22 +0000 (17:58 +0200)
This way, passing this variable through the environment actually makes
sense.

t/Makefile
index fc9f734fef697e77f8b3ac1811a863636354b958..6882e23be568ccf14f3adb0c766139086f2ee952 100644 (file)
@@ -2,12 +2,13 @@
 #
 # Copyright (c) 2005 Junio C Hamano
 #
-#OPTS=--verbose --debug
+
+#GIT_TEST_OPTS=--verbose --debug
 
 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
 
 all:
-       @$(foreach t,$T,echo "*** $t ***"; sh $t $(OPTS) || exit; )
+       @$(foreach t,$T,echo "*** $t ***"; sh $t $(GIT_TEST_OPTS) || exit; )
        @rm -fr trash
 
 clean: