I apologize in advance if this is something extremely noob-ish and/or obvious to ask, but I’ve never done anything like this before and I feel like I’ve got to start somewhere.
I’ve done a pull request to Cocos2d-x 4.0 sometime ago and I noticed it failed some of the integration tests here:
https://travis-ci.org/cocos2d/cocos2d-x/builds/627374895
It seems like fix for is (most likely) trivial, but if I’m to do this, it would be extremely convenient if I could run those tests on my own machine first, before submitting any pull requests.
I’d be grateful if someone could point me to some sort of detailed manual or, even better, a step by step guide on how to do such things.
I also got some questions:
-
Am I the one expected to fix this if this pull request is to have a greater than zero chance of being merged into the branch? Or these things are reviewed and fixed by Cocos team?
-
If that’s on me, how do I go about replicating the exact tests Cocos2d-x is running on my own machine? Is this tested on some sort of VMs? If so, are the images available for download and use?
-
If I successfully fix and test the code, do I have to submit an entirely new pull request or making a new commit on my fork is enough?