Commit 690283ec authored by DonLakeFlyer's avatar DonLakeFlyer

Don't start position source while running unit tests

parent 625bf951
......@@ -62,6 +62,11 @@ void QGCPositionManager::setPositionSource(QGCPositionManager::QGCPositionSource
disconnect(_currentSource);
}
if (qgcApp()->runningUnitTests()) {
// Units test on travis fail due to lack of position source
return;
}
switch(source) {
case QGCPositionManager::Log:
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment