[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 2/4] GNUmakefile: enable warnings by default for tests
From: |
Eric Wong |
Subject: |
[PATCH 2/4] GNUmakefile: enable warnings by default for tests |
Date: |
Sun, 8 Sep 2013 02:12:46 +0000 |
This is a new code base and we should avoid introducing warnings.
---
GNUmakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/GNUmakefile b/GNUmakefile
index a1b49b2..a23e29e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -13,7 +13,7 @@ test_units := $(wildcard test/test_*.rb)
test: test-unit
test-unit: $(test_units)
$(test_units):
- $(RUBY) -I $(lib) $@ $(RUBY_TEST_OPTS)
+ $(RUBY) -w -I $(lib) $@ $(RUBY_TEST_OPTS)
check-warnings:
@(for i in $$(git ls-files '*.rb'| grep -v '^setup\.rb$$'); \
--
1.8.4