I have been trying to build the unit tests for the Scheduler application and the example but have been running into a bunch of errors. The example gives the errors “uttest.h: no such file or directory” and “utassert.h: no such file or directory” even though the path to tools/ut_assert/inc is added to INCLUDES in the makefile.
When trying to build unit tests for the Scheduler I got the same errors as with the example, but when I looked at the makefile I noticed I was missing the variable UT_ASSERT_SRC, so I added it to my setvar.sh script and set it to $CFE_TOOLS/ut_assert. After, I ran make again and I got errors on lines 326 and 330, stating “size of array ‘TypeUint32WrongSize’ is negative” and “size of array TypeInt32WrongSize is negative” respectively. I commented out those lines but I still got an error stating “No rule to make target ‘cfs_utils.o’ needed by ‘sch_testrunner.exe’.
I looked through the unit test PowerPoint several times and it seemed like building the tests should be a painless process. Is there something I’m missing? I downloaded cFE 6.5.0a from SorceForge, OSAL 4.2.1a from SorceForge, and SCH 221 from SorceForge.
- You must login to post comments