From 84f777f12c406aabca245d811d171ca74bed1900 Mon Sep 17 00:00:00 2001 From: Jeena Paradies Date: Thu, 24 Feb 2011 13:00:20 +0100 Subject: [PATCH] added erlang_js path to test --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d40790a..a4934f9 100644 --- a/Makefile +++ b/Makefile @@ -18,10 +18,10 @@ test: mkdir -p $(BEAMDIR) ; ifeq ($(strip $(MOD)),) $(ERLC) $(ERLCFLAGS) $(BEAMDIR) $(TESTDIR)/*.erl ; - cd $(BEAMDIR) ; erl -noinput -eval 'eunit:test({dir, "."}, [verbose]), init:stop()' ; + cd $(BEAMDIR) ; erl -noinput -pa ../erlang_js/ebin -eval 'eunit:test({dir, "."}, [verbose]), init:stop()' ; else $(ERLC) $(ERLCFLAGS) $(BEAMDIR) $(TESTDIR)/$(MOD)_test.erl ; - cd $(BEAMDIR) ; erl -noinput -eval 'eunit:test($(MOD)_test, [verbose]), init:stop()' ; + cd $(BEAMDIR) ; erl -noinput -pa ../erlang_js/ebin -eval 'eunit:test($(MOD)_test, [verbose]), init:stop()' ; endif clean: