Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any virtualenv like tool for c++ out there?

I have found a problem with the test environment in a c++ problem.

We have a machine which downloads the code from the version control system and, build it and execute the unit test, nothing new.

The problem arise when we add a new dependency in our project. We are developing a lot of features at the same time and it is something relatively common. We this happens we have to advise testers and give them an easy way to reproduce the compilation environment ...

And I was thinking if there is any other easy way to go through this ... don't know, some tool like virtualenv or buildout for python ..

I have been searching at google, but with no luck.

Any help will be appreciated.

like image 927
thamurath Avatar asked Aug 29 '11 17:08

thamurath


1 Answers

You can always add all of the dependencies to the revision control system and provide automated scripts that will install the required subsystems. Where I work, if you just download the current version from the repository, you can build in one step an ISO image that can be installed by testers in any computer they want. The image contains everything from the OS up to the application.

Depending on your particular situation, you might want to start with smaller steps, like adding the dependencies to the repository and having the testers check there whether any new file appears or changes version.

like image 180
David Rodríguez - dribeas Avatar answered Oct 19 '22 01:10

David Rodríguez - dribeas