Comments (10)
Note that OS_opendir, OS_readdir, and OS_closedir were deprecated, not removed. They still exist for the time being for backward compatibility. Are you building with OMIT_DEPRECATED set to true by chance?
from cf.
I see that now. I will turn that on. Thanks.
from cf.
That gets through that issue. Now I'm running into deprecated data types, i.e. TRUE vs true, and FALSE vs false. Did you intend to include those in the OMIT_DEPRECATED macro, or are those deleted at this time?
from cf.
I didn't submit a ticket last night for SCH, FM, and CF because I'm still in the process of porting the code. So since I'm submitting them now, issues will be coming in piecemeal.
from cf.
Yes, TRUE/FALSE/boolean is also deprecated, in favor of C99 stdbool.h definitions. However, these should also be in the #ifndef OSAL_OMIT_DEPRECATED
switch so you'll get them by default.
Are you sure you don't have OSAL_OMIT_DEPRECATED
defined somehow? The intent is that by putting these in #ifndef
as opposed to #ifdef
that one must opt-in to not get these defined, which should make it backward compatible by default. I'm surprised if you aren't getting these. Can you elaborate on your command line and setup/prep procedure? Maybe there is a documentation issue.
from cf.
Sorry. Ran the wrong build in that case. OSAL_OMIT_DEPRECATED works correctly.
from cf.
If you decide to bring the hooks and stubs for application testing that was used in previous versions, or if you have some of automated conversion, I can submit tickets covering the unit tests that currently fail. I have no choice. I need to still build and run application unit tests, so I propagated the hooks and stubs forward, just for app testing. The FM unit tests build with OSAL_OMIT_DEPRECATED. I get 854 passes and 43 failures.
I don't have results from CF. That's the only application that we do not unit test.
from cf.
I believe a team at GSFC is currently working to update the unit tests for all the CFS apps. (I'm not directly supporting that effort but AFAIK it is in progress).
Also, AFAIK the next release of the CF is going to be a fairly major update, not just UT but the entire app. It should be compatible with the latest CFE when it is released.
from cf.
I heard. This is good. We don't unit test CF because for every platform/configuration specific issue we fixed, it would uncover 2 more. We shelved unit testing on target for later.
from cf.
Closing as obsolete (applies to v2.X)
from cf.
Related Issues (20)
- Fix typo in Requirement CF2002.1.3
- Various type mismatches in CF
- EDS file inconsistencies
- Should message buffers returned from `CFE_SB_ReceiveBuffer` be checked for `NULL`?
- Segfault trying to dereference NULL pointer.
- Apply name updates from recent EdsLib change
- Placing a file with a name that is too long in the polling directory causes errors to spam
- Inaccurate comment in CF_CFDP_ReceiveMessage
- cf delete file when there is an error during tx HOT 1
- Transaction priority sorted incorrectly
- Static analysis issues JSC 2.1
- Standardization of Command Responses
- EotPacket provides transaction status, but defines are internal
- f-sanitizer report run time error in coverage-cf-cf_cfdp_r-testrunner
- f-sanitizer report run time error in coverage-cf-cf_cfdp_sbintf-testrunner
- f-sanitizer report run time error in coverage-cf-cf_cfdp_s-testrunner
- f-sanitizer report run time error in coverage-cf-cf_cfdp-testrunner
- f-sanitizer report runtime error in coverage-cf-cf_cmd-testrunner
- Convert internal `0`/`1` variables to `bool` type
- How to build HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cf.