Yoshi
Yoshi

Reputation: 415

How to ignore "ifdef(TEST)" in Dialyzer?

I tried to use the define macro flag like this: dialyzer -dNOTEST, and it did not work. Does anyone have workaround?

Upvotes: 1

Views: 408

Answers (1)

jj1bdx
jj1bdx

Reputation: 1197

The Dialyzer man page says the -D option passes the argument to erlc. You can define a macro by the -D option, but you cannot undefine one. -DNOTEST will only define the macro NOTEST.

Upvotes: 3

Related Questions