Hi,
I have a cppUnit test-executable.
In my build plan I tried "command" and "script" tasks, but it refuses to run.
I get :
Failing task since return code of [C:\Windows\System32\cmd.exe /c lcvserver\Debug\LCVServerTest.exe] was -1073741515 while expected 0
When I run the same command from the commandline, in the build-folder it executes fine.
I am running bamboo using BambooConsole.bat (so not as service), I start it with "run as administrator". So environment-settings and user are the same (I think, checked with ''set" and "whoami" in script...)
Ofcourse I googled all there seems to be on the subject, any other tips ?
Kind regards,
Rob
I figured out it has to do with the fact that I use Visual Leak Detector.
Without that, it runs.
So I guess it can't find VLD's dll.
It is not in the PATH when running from bamboo. (Why not?)
Fixed it by adding in script:
PATH=%PATH%;C:\Program Files (x86)\Visual Leak Detector\bin\Win32;C:\Program Files (x86)\Visual Leak Detector\bin\Win64;
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.