check.mak: fix 'make check-valgrind'
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Mar 2010 11:57:09 +0000 (11:57 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 12 Mar 2010 12:04:35 +0000 (12:04 +0000)
Don't use @ on a continuation line, that will lead to syntax errors.
Also replace some spaces with tabs.

check.mak

index 4a13504..0abd609 100644 (file)
--- a/check.mak
+++ b/check.mak
@@ -107,13 +107,13 @@ forever: $(TESTS)
 valgrind: $(TESTS)
        @echo "Valgrinding tests ..."
        @failed=0;                                                      \
-       @for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do  \
+       for t in $(filter-out $(VALGRIND_TESTS_DISABLE),$(TESTS)); do   \
                $(MAKE) $$t.valgrind;                                   \
                if test "$$?" -ne 0; then                               \
-                        echo "Valgrind error for test $$t";            \
+                       echo "Valgrind error for test $$t";             \
                        failed=`expr $$failed + 1`;                     \
                        whicht="$$whicht $$t";                          \
-                fi;                                                    \
+               fi;                                                     \
        done;                                                           \
        if test "$$failed" -ne 0; then                                  \
                echo "$$failed tests had leaks or errors under valgrind:";      \