Skip to content

Commit

Permalink
renamed test to eqc_test so that rebar doesn't confuse quickcheck tes…
Browse files Browse the repository at this point in the history
…ts with eunit tests.
  • Loading branch information
abecciu committed Aug 3, 2010
1 parent 424ca26 commit bf0d5b7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
File renamed without changes.
14 changes: 7 additions & 7 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ERLC += +debug_info
EQC ?= /host/dev/eqc-1.16

EQC_ERLC = $(ERLC) -I $(EQC)/include
EQC_ERL = erl -pz ../ebin -pz $(EQC)/ebin -pz ../test/Unit-Quick-Files -kernel error_logger silent -sasl errlog_type error
EQC_ERL = erl -pz ../ebin -pz $(EQC)/ebin -pz ../eqc_test/Unit-Quick-Files -kernel error_logger silent -sasl errlog_type error

SOURCES = $(wildcard *.erl)

Expand All @@ -46,16 +46,16 @@ beams = gproc.beam \

all : $(beams)
clean :
rm -f *~ ../ebin/*.beam ../test/Unit-Quick-Files/*.beam
rm -f *~ ../ebin/*.beam ../eqc_test/Unit-Quick-Files/*.beam

## erlc targets
$(beams) : %.beam : %.erl
$(ERLC) $<

./Unit-Quick-Files/gproc_eqc.beam : ../test/Unit-Quick-Files/gproc_eqc.erl
./Unit-Quick-Files/gproc_eqc.beam : ../eqc_test/Unit-Quick-Files/gproc_eqc.erl
$(EQC_ERLC) $<

./Unit-Quick-Files/gproc_pulse.beam : ../test/Unit-Quick-Files/gproc_pulse.erl
./Unit-Quick-Files/gproc_pulse.beam : ../eqc_test/Unit-Quick-Files/gproc_pulse.erl
$(EQC_ERLC) $<

doc: ../doc/edoc-info
Expand All @@ -64,11 +64,11 @@ doc: ../doc/edoc-info
erl -noshell -eval 'edoc:application($(APP),"..",[])' -s init stop

## test targets
test : all ../test/Unit-Quick-Files/gproc_eqc.beam
test : all ../eqc_test/Unit-Quick-Files/gproc_eqc.beam
$(EQC_ERL) -s gproc_eqc run -s erlang halt

itest : all ../test/Unit-Quick-Files/gproc_eqc.beam
itest : all ../eqc_test/Unit-Quick-Files/gproc_eqc.beam
$(EQC_ERL) -s eqc start

pulsetest : all ../test/Unit-Quick-Files/gproc_pulse.beam
pulsetest : all ../eqc_test/Unit-Quick-Files/gproc_pulse.beam
$(EQC_ERL) -pa ../../scheduler_msg -pa -s eqc start

0 comments on commit bf0d5b7

Please sign in to comment.