added erlang_js path to test
This commit is contained in:
parent
191c464220
commit
84f777f12c
1 changed files with 2 additions and 2 deletions
4
Makefile
4
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:
|
||||
|
|
Reference in a new issue