I tried to use the define macro flag like this: dialyzer -dNOTEST
, and it did not work. Does anyone have workaround?
Asked
Active
Viewed 397 times
1
-
Any specific case to explain? – jj1bdx Jul 29 '11 at 10:12
-
I think voluntas can give us more detailed example of this issue. – Yoshi Jul 29 '11 at 14:38
1 Answers
3
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
.

jj1bdx
- 1,117
- 1
- 15
- 32
-
Yup, best route would probably be to compile it without the test flag to start with. – David H. Clements Jul 29 '11 at 15:54