Skip to content

Commit

Permalink
Fix #2516, disable custom stack test on RTEMS
Browse files Browse the repository at this point in the history
  • Loading branch information
jphickey committed Feb 26, 2024
1 parent b04f2b1 commit 50eb286
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions modules/cfe_testcase/src/es_task_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,5 +353,12 @@ void ESTaskTestSetup(void)
UtTest_Add(TestChildTaskName, NULL, NULL, "Test Child Task Name");
UtTest_Add(TestChildTaskDelete, NULL, NULL, "Test Child Tasks Delete");
UtTest_Add(TestExitChild, NULL, NULL, "Test Exit Child");

/*
* NOTE: The custom stack does not work on RTEMS, test is disabled on that platform
* for the time being (custom stack may be deprecated in future CFE release).
*/
#ifndef _RTEMS_OS_

Check notice

Code scanning / CodeQL-coding-standard

Conditional compilation Note test

Use of conditional compilation must be kept to a minimum.
UtTest_Add(TestCreateChildWithStack, NULL, NULL, "Test Child with Custom Stack");
#endif
}

0 comments on commit 50eb286

Please sign in to comment.