Skip to content

Commit

Permalink
Disable ctrlr-crashing tests (for now)
Browse files Browse the repository at this point in the history
Need to diagnose the crashes.
  • Loading branch information
gavanderhoorn committed Nov 23, 2023
1 parent 0ea03c5 commit 2b7a861
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Tests_ControllerStatusIO.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#include "MotoROS.h"

#if 0

void Ros_Testing_ControllerStatusIO_MakeFake6dofRobot(CtrlGroup* group, int groupNo, MP_GRP_ID_TYPE groupId)
{
bzero(group, sizeof(CtrlGroup));
Expand Down Expand Up @@ -310,10 +312,15 @@ BOOL Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1B1R2B2()
return bSuccess;
}

#endif

BOOL Ros_Testing_ControllerStatusIO()
{
BOOL bSuccess = TRUE;

// disabled for now, cause controllers to crash (stack overflow issue perhaps?)
#if 0

bSuccess &= Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1();
bSuccess &= Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1B1();
bSuccess &= Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1R2();
Expand All @@ -323,6 +330,8 @@ BOOL Ros_Testing_ControllerStatusIO()
bSuccess &= Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1B1S1();
bSuccess &= Ros_Testing_ControllerStatusIO_ShouldWarnNoCalibDataLoaded_R1B1R2B2();

#endif

return bSuccess;
}

Expand Down

0 comments on commit 2b7a861

Please sign in to comment.