Forum Replies Created
-
AuthorPosts
-
January 19, 2017 at 16:31 in reply to: fault with SYSPROGS_TEST_REPORTING_PIPE when I try and build my project from the #10132BrewerymanParticipant
Thankyou for your feedback. It looks like I do need to continue with working towards getting cpputest installed separately on my CI machine and then modifying the makefile to point to the local version of the cpputest files when it builds under Linux.
If a new command line option might enable us to turn off the VisualGDB testing then I think that would benefit in that it would avoid the error message I was getting and would make this current process easier to manage under automated conditions.
Cheers
AndyJanuary 17, 2017 at 18:30 in reply to: fault with SYSPROGS_TEST_REPORTING_PIPE when I try and build my project from the #10112BrewerymanParticipantThanks – I’ll have a look at those options. I do believe that we should be able to come up with a solution based upon that.
I’m not sure the /runtests option will work for us as we are running Jenkins on a Linux box rather than windows, though I will put some more effort into finding the resident cpputest solution on our Linux box. I have installed this using apt-get install but I’ve yet to find where it has hidden itself.
Thanks for the guidance,
Andy
BrewerymanParticipantThanks to support for the advice. I can confirm that the method below worked successfully and got me able to use CPPUTEST. I imagine the same would apply to Google Test Framework
Run Visual Studio as admin
Enter the key used to licence the product initially (locked to this PC)
New > Project > Visual GDB > Linux > Unit Test
From the pull down menu select download from beside cpputest
Close visual studioCopy 2 folders and a file from c:\users\<admin user>\Local\VisualGDB to c:\users\<local user>\Local\VisualGDB
ToolchainProfiles
TestFrameworks
PackageCatalog.xml- This reply was modified 7 years, 10 months ago by Breweryman.
BrewerymanParticipantI will give the package catalog option a try tomorrow.
I can confirm that what we have been able to try so far is:
Get IT to allow Run As Administrator on Visual Studio
Sign in to VS with my Microsoft account
Find that Visual GDB is not registered to this admin user so get hold of the original key that was purchased and unlock Visual GDB
I was then able to see the options for Test Framework being offered with a download option. I opted to download all options.
I was then able to build a project that uses CPPUTEST and run the tests while still logged on as Admin.
I close VS and reopened as a standard user but the options were still missing for the standard user.
I tried running the project created by the admin user but had a fault along the lines of plugin not installed.
As this has not worked I will have a look at the package catalog option with them tomorrow.
Thanks for the feedback.
Andy
BrewerymanParticipantThis sounds like it might be part of our IT policy lockdown. We aren’t allowed to install anything ourselves so have to get someone to come down and run the program as administrator in order to do any automatic upgrades or add any features.
I’ll get them to try and set things up for me for this and see how it goes.
Thanks
Andy
-
AuthorPosts