[erlang-questions] CT config

Daniel Hallin Widgren daniel.widgren@REDACTED
Tue Mar 24 15:03:46 CET 2015

Have you tried ct_run instead of erl?

That will start common test from terminal.

There is a section in user guide in common test documentation.
Den 24 mar 2015 14:28 skrev "Konrad Wyrozumski" <danrokk@REDACTED>:

> Hi all,
> Some time ago I was working on some project and created Makefile that was
> running tests. Now it looks like something has changed with erlang release
> since R16 which is version I was working on.
> I want to specify config used for test suites and it seems like always
> Config gets values from ERL_OPTS, not CT_OPTS. Please see part of Makefile
> below:
> CT_OPTS= -stylesheet styles/test_categories.css -ct_config test.config
> -dir tests -logdir ct_report
> ERL_OPTS=-config app.config -sname $(DEBUG_NODE_NAME) -s lager -s chat_app
> -s chatest_app -s ct_run script_start -s erlang halt
> BEAMS_PATH=-pa ebin  -pa ../chatd/ebin -pa ../chatd/deps/lager/ebin
> How can I specify config file that is passed to init_per_suite/1,
> end_per_suite/1 etc functions?
> Best Regards,
> --
> Konrad.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20150324/96430136/attachment.htm>

More information about the erlang-questions mailing list