Giter Site home page Giter Site logo

Invalid regex matching about dmce HOT 3 CLOSED

patrikaaberg avatar patrikaaberg commented on May 20, 2024
Invalid regex matching

from dmce.

Comments (3)

PatrikAAberg avatar PatrikAAberg commented on May 20, 2024

I agree on the regexp being more precise. That said, I do not understand how you get to the point where you feed compiler output to this script. Could you please explain your execution flow?

Kind Regards,
Patrik

from dmce.

wolverine2k avatar wolverine2k commented on May 20, 2024

The compiler output is a part of the console log output. We just send the whole console log output from the executing test to the print summary script. Hence any compiler errors and/or lint info/warnings (even if suppressed) will be a part of the console output. And no, there is no way to differentiate between outputs from various tests.

The change makes the regex tighter and suitable to be used across all console logs irrespective of whether the output is from a compiler run or an actual test run.

BR; Naresh

from dmce.

PatrikAAberg avatar PatrikAAberg commented on May 20, 2024

Ah, ok. Your patch is merged into master.

However, I strongly suggest you separate the testlog from the rest. Otherwise I suspect you will fall on more hurdles and end up in some time-consuming state-driven text parsing. :)

Good luck with your tests!

Kind Regards,
Patrik

from dmce.

Related Issues (9)

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.