[99s-extend] usage of make_* command

Anton Koval' psihonavt at gmail.com
Mon Mar 3 21:49:33 CET 2014


Hello,

I have next structure of my project:
.
├── deps
│   ├── cowboy
│   ├── cowlib
│   ├── erlang_iconv
│   ├── erlydtl
│   ├── mochiweb_xpath
│   └── ranch
├── ebin
│   ├── fetchers.beam
│   ├── parsers.beam
│   └── wasearch_sup.beam
├── erlang.mk
├── Makefile
├── _rel
│   └── ....
├── relx
├── relx.config
├── src
│   ├── fetchers.erl
│   ├── main_handler.erl
│   ├── parsers.erl
│   ├── tests
│   │   ├── parsers_SUITE_data
│   │   ├── parsers_SUITE.erl
│   │   ├── ....
│   ├── wasearch_app.erl
│   ├── wasearch.app.src
│   └── wasearch_sup.erl
└── templates
    └── index.dtl

I would prefer to store tests not in `src` directory but rather in `tests`
subdirectory.
Erlang.mk README says: You can run an individual test suite by using the
special test_* targets. For example if you have a common_test suite named
spdy and you want to run only this suite and not the others, you can use
the make test_spdy command.
And of course `make test_parsers`  returns `no rule to make target` error.
Is there a way to run suites from custom directory with
`make_<mod_name_with_suite>` command?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ninenines.eu/archives/extend/attachments/20140303/52007acc/attachment.html>


More information about the Extend mailing list