Make C++ examples able to run GradleRIO unit tests (#1490)

Closes #1484
This commit is contained in:
Thad House
2018-12-17 09:26:21 -08:00
committed by Peter Johnson
parent d84240d8e9
commit 6e8f8be370
21 changed files with 42 additions and 0 deletions

View File

@@ -50,4 +50,6 @@ class Robot : public frc::TimedRobot {
frc::DifferentialDrive m_robotDrive{m_left, m_right};
};
#ifndef RUNNING_FRC_TESTS
int main() { return frc::StartRobot<Robot>(); }
#endif