Skip to content

Commit

Permalink
Fix nasa#2320, do not assume cfe_test is present
Browse files Browse the repository at this point in the history
This is an optional component and thus may not be part of the build.
Hotfix based on workflow testing.
  • Loading branch information
jphickey committed May 4, 2023
1 parent 4bff797 commit ca5106f
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions modules/cfe_testcase/src/sb_sendrecv_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include "cfe_test.h"
#include "cfe_msgids.h"
#include "cfe_test_msgids.h"

#define CFE_FT_STRINGBUF_SIZE 12

Expand Down
1 change: 1 addition & 0 deletions modules/cfe_testcase/src/sb_subscription_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

#include "cfe_test.h"
#include "cfe_msgids.h"
#include "cfe_test_msgids.h"

/*
* This test procedure should be agnostic to specific MID values, but it should
Expand Down
1 change: 1 addition & 0 deletions modules/cfe_testcase/src/tbl_information_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "cfe_test.h"
#include "cfe_test_table.h"
#include "cfe_msgids.h"
#include "cfe_test_msgids.h"

void TestGetStatus(void)
{
Expand Down
1 change: 1 addition & 0 deletions modules/cfe_testcase/src/tbl_registration_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include "cfe_test.h"
#include "cfe_test_table.h"
#include "cfe_msgids.h"
#include "cfe_test_msgids.h"

int32 CallbackFunc(void *TblPtr)
{
Expand Down
1 change: 0 additions & 1 deletion modules/core_api/config/default_cfe_msgids.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@
#include "cfe_sb_msgids.h"
#include "cfe_tbl_msgids.h"
#include "cfe_time_msgids.h"
#include "cfe_test_msgids.h"

#endif /* CFE_MSGIDS_H */

0 comments on commit ca5106f

Please sign in to comment.