utra-robosoccer / soccer-embedded

Collection of embedded programs for an autonomous humanoid soccer robot
http://utrahumanoid.ca
32 stars 8 forks source link

No-Op Pull Request to summarize changes #202

Closed gokuldharan closed 5 years ago

gokuldharan commented 5 years ago

I accidentally pushed directly to master because I still have 0 understanding of how git works. This PR is just to summarize the changes that I've made that haven't been reviewed as a result: -make now runs unit tests after the build for both F4 and F7 -Test files should exist in the same directory as the files they need to be compiled alongside (the corresponding .cpp), and should have the same name, but just with "Test" appended. For example, I renamed MotorTest.cpp to DynamixelTest.cpp -Tests that do not need any sources to be compiled are still under Common/test/ -Because of this, I removed RobotTest (officially down to 1 project!!!). This required moving googletest/ out of RobotTest -Travis will soon run our tests. To do this, I had to make travis install gcc-8, and could only work out how to install gcc-8.1, whereas our local machines should have gcc-8.2. There are other incompatibilities so this is incomplete, travis just builds the main project for now.