Coder Social home page Coder Social logo

Comments (10)

jphickey avatar jphickey commented on August 16, 2024

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.

mbenson1 avatar mbenson1 commented on August 16, 2024

I see that now. I will turn that on. Thanks.

from cf.

mbenson1 avatar mbenson1 commented on August 16, 2024

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.

mbenson1 avatar mbenson1 commented on August 16, 2024

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.

jphickey avatar jphickey commented on August 16, 2024

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.

mbenson1 avatar mbenson1 commented on August 16, 2024

Sorry. Ran the wrong build in that case. OSAL_OMIT_DEPRECATED works correctly.

from cf.

mbenson1 avatar mbenson1 commented on August 16, 2024

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.

jphickey avatar jphickey commented on August 16, 2024

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.

mbenson1 avatar mbenson1 commented on August 16, 2024

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.

skliper avatar skliper commented on August 16, 2024

Closing as obsolete (applies to v2.X)

from cf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.