From c807880f7ac73f813b2660ea81a00f7712a4e793 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 29 Aug 2016 12:39:49 +0200 Subject: Add old mailing list archives --- archives/extend/2014-March/000344.html | 134 +++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 archives/extend/2014-March/000344.html (limited to 'archives/extend/2014-March/000344.html') diff --git a/archives/extend/2014-March/000344.html b/archives/extend/2014-March/000344.html new file mode 100644 index 00000000..d6d3e174 --- /dev/null +++ b/archives/extend/2014-March/000344.html @@ -0,0 +1,134 @@ + + + + [99s-extend] usage of make_* command + + + + + + + + + + +

[99s-extend] usage of make_* command

+ Anton Koval' + psihonavt at gmail.com +
+ Thu Mar 6 15:50:01 CET 2014 +

+
+ +
Thank you for answer.
+Is it common way (for OTP-based application) to store tests in `tests`
+subdirectory rather then in `src/tests/`?
+
+
+On Thu, Mar 6, 2014 at 4:40 PM, Loïc Hoguin <essen at ninenines.eu> wrote:
+
+> 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
+>
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: <http://lists.ninenines.eu/archives/extend/attachments/20140306/6fa8fe3b/attachment.html>
+
+ + +
+

+ +
+More information about the Extend +mailing list
+ -- cgit v1.2.3