Can't get monocov to compile (Mac OS x 10.7.4)

后端 未结 1 959
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 16:40

I am desperately searching for a coverage utility within mono. I have written some tests but there are most likely some parts of the code that are not excersized by my tests

相关标签:
1条回答
  • 2021-01-13 17:16

    You need a copy of Cecil 0.6. It is a bit harder to find as the entire Mono project has gone through a lot of changes over the past 2 years, but last I checked (10. Sept 2012) there is a copy available from the authors' personal blog here http://evain.net/blog/articles/2007/10/05/mono-cecil-0-6

    You can pick the .tar.gz version for instance. Inside, there are 3 files. Put these into the monocov source directory. Run the configure script. Open the makefile and find the line saying something like "CFLAGS=-O2 -g". Append to it so it reads "CFLAGS=-O2 -g -m32". Then make.

    0 讨论(0)
提交回复
热议问题