[99s-extend] usage of make_* command
Loïc Hoguin
essen at ninenines.eu
Thu Mar 6 15:40:59 CET 2014
Tests should be in ./tests, not ./src/tests.
If you put them in ./tests everything you mentioned will work.
On 03/03/2014 09:49 PM, Anton Koval' wrote:
> 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 <http://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?
>
>
> _______________________________________________
> Extend mailing list
> Extend at lists.ninenines.eu
> https://lists.ninenines.eu/listinfo/extend
>
--
Loïc Hoguin
http://ninenines.eu
More information about the Extend
mailing list