[Pkg-mozext-commits] [adblock-plus] 279/464: Made "make check" work on Windows

David Prévot taffit at moszumanska.debian.org
Tue Jul 22 20:44:25 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository adblock-plus.

commit 8933810d2cacb0c4e5d072de2e137548502e6f9f
Author: Wladimir Palant <trev at adblockplus.org>
Date:   Fri Aug 24 13:52:35 2012 +0200

    Made "make check" work on Windows
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 02934fe..33c7993 100644
--- a/Makefile
+++ b/Makefile
@@ -32,8 +32,8 @@ check:: jshydra$(BIN_SUFFIX)
 	@cd autotest && for f in $(TESTS); do \
 		eval $$(cat $$f | sed -e '/^\/\/ [A-Za-z]*:/!q' -e 's+^// \([A-Za-z]*\): \(.*\)$$+export \1="\2"+'); \
 		echo -n "$$Name... "; \
-		../jshydra$(BIN_SUFFIX) $$f $$Arguments &> .$$f.out; \
-		if diff -q ".$$f.out" "$$f.expected" &>/dev/null; then \
+		../jshydra$(BIN_SUFFIX) $$f $$Arguments > .$$f.out 2>&1; \
+		if diff -w -q ".$$f.out" "$$f.expected" >/dev/null 2>&1; then \
 			echo ' passed!'; \
 		else \
 		echo ' failed! Log:'; \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/adblock-plus.git



More information about the Pkg-mozext-commits mailing list