withmock icon indicating copy to clipboard operation
withmock copied to clipboard

Withmock does not currently support windows

Open haagarwa opened this issue 9 years ago • 2 comments

Hi, I recently installed withmock.After installation I got lots of errors in the "qur/withmock/scenarios" directory. The type of errors were like "C source files not allowed when not using cgo or SWIG: lib.c", so I removed such directories. And then I tried running withmock but faced an error like below ERROR: symlink D:src\github.com\golang\mock\gomock\call.go C:\Users\xyz\AppData\Local\Temp\withmock915089311\path\src\github.com\golang\mock\gomock\call.go: A required privilege is not held by the client. Please help me to get to know what could be the reason for this failure.Is it like I need to use withmock with older version of golang.

haagarwa avatar Feb 19 '16 09:02 haagarwa

At the moment withmock is using symbolic links to reduce the amount of data copied. Unfortunately this appears to not be working on Windows, and I don't have a Windows development environment.

There may also be other aspects of the behaviour that implicitly favour unix based systems ...

qur avatar Feb 23 '16 10:02 qur

Thank you for the information. I am just wondering if you have any plans to support it for windows?

haagarwa avatar Feb 24 '16 05:02 haagarwa