From c77066dd3c93d88ab91653244d36e51dc53e60d2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 24 Dec 2010 16:16:27 -0800 Subject: GNUmakefile: preserve RUBYLIB env for tests --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index af95c50..a4a3301 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -26,14 +26,14 @@ test_unit := $(wildcard test/test_*.rb) test-unit: $(test_unit) ifeq ($(CLOGGER_PURE),) -$(test_unit): export RUBYLIB := ext/clogger_ext:lib +$(test_unit): RUBYLIB := ext/clogger_ext:lib:$(RUBYLIB) $(test_unit): ext/clogger_ext/clogger.$(DLEXT) else -$(test_unit): export RUBYLIB := lib +$(test_unit): RUBYLIB := lib:$(RUBYLIB) endif $(test_unit): - $(RUBY) $@ + RUBYLIB=$(RUBYLIB) $(RUBY) $@ test-ext: CLOGGER_PURE= $(MAKE) test-unit -- cgit v1.2.3-24-ge0c7