[erlang-bugs] unable to include ct.hrl
Wed Feb 27 11:47:29 CET 2008
The ct module's documentation (http://erlang.org/doc/man/ct.html) says:
"The config macro is defined in ct.hrl. This macro should be used to
retrieve information from the Config variable sent to all test cases."
But when i want to include it in my module, erl complains about the
:~$ erlc foo.erl
./common_test/include/ct.hrl:1: can't find include file
In ct.hrl, test_server.hrl is included using "-include(...)" instead of
"-include_lib(...)" which would probably fix erlc's problem.
More information about the erlang-bugs