eproxus / meck

A mocking library for Erlang
http://eproxus.github.io/meck
Apache License 2.0
811 stars 231 forks source link

Do not attempt to generate dependencies when mocking #207

Closed jesperes closed 4 years ago

jesperes commented 4 years ago

The erlc option -MMD will cause the compiler to generate dependencies as a side-effect. This also puts makedep_side_effect into the beam file, causing Meck to use it when recompiling. This causes (or may cause) the mocking to fail if e.g. the destination directory specified by {makedep_output, ...} is not found.

jesperes commented 4 years ago

The build is failing on OTP 17, but this does not seem to be related to this PR.