krestenkrab / triq

Trifork QuickCheck
http://krestenkrab.github.com/triq/
Apache License 2.0
281 stars 54 forks source link

Remove eunit from default target #30

Closed nifoc closed 9 years ago

nifoc commented 10 years ago

I'm using erlang.mk and having eunit as part of the default target is kind of annoying, because every time I run my tests the triq EUnit tests are run first. This is because erlang.mk simply calls make -C deps/triq, which will call the default target.

GNU defines some "standard" targets, in which they say that all should basically just compile the entire program.

This PR removes the eunit switch from the default target and adds two new ones:

eunit: To run the EUnit tests test: Run the eunit and qc targets

ghost commented 10 years ago

Looks reasonable to me.