GithubHelp home page GithubHelp logo

Comments (11)

vrz avatar vrz commented on September 22, 2024

fixed

from v7.

mkmik avatar mkmik commented on September 22, 2024

Is there any test case that exercises this?

from v7.

cpq avatar cpq commented on September 22, 2024

w.r.t. tests: the plan is to make VM to execute standard ecma262 tests.
Regexp tests will be covered by those.

@mmikulicic do you think we should add our custom hand-written tests as well?

from v7.

mkmik avatar mkmik commented on September 22, 2024

I agree we should avoid writing useless tests, but still it would be nice to associate a bug fix with a passing test that used to fail. It should be either possible to point out the ecma262 test chapter+number or write a short test case that covers the bug fix.

from v7.

cpq avatar cpq commented on September 22, 2024

@vrz could you send a PR with the test case please - just add it to tests/unit_test.c?

from v7.

mkmik avatar mkmik commented on September 22, 2024

FYI, #30 reenables some of the pre-existing tests also fixed by this issue, which were disabled because we were having too many broken tests and we were becoming test blind.

from v7.

vrz avatar vrz commented on September 22, 2024

PR with unit test is sent
FYI: I still have unit_test not working at lines:
121, 144, 148 -- ASSERT(check_num(v7, v, NAN));
Somthing not good with NAN definition.

from v7.

mkmik avatar mkmik commented on September 22, 2024

@vrz you mean that test is not working on current master ?
All test pass on mac and linux, see our CI server: https://circleci.com/gh/cesanta/v7
Does it mean that these tests fail on windows only?

BTW, you can easily run a build and test on a linux+gcc platform by installing docker for windows (https://docs.docker.com/installation/windows/) and then running "make docker".

from v7.

vrz avatar vrz commented on September 22, 2024

Yes, tried on windows+gcc.

Fail on line 121: [check_num(v7, v, NAN)]

from v7.

mkmik avatar mkmik commented on September 22, 2024

Reproduced on vs2013, but line 121 works fine

  Fail on line 144: [check_num(v7, v, NAN)]
  Fail on line 148: [check_num(v7, v, NAN)]

from v7.

mkmik avatar mkmik commented on September 22, 2024

Caused by redefinitions of NAN done for earlier windows versions. Fix pending in #34.

Closing this issue since it has been fixed in 6888ceb and 7a4e832.

FYI: https://help.github.com/articles/closing-issues-via-commit-messages/

from v7.

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.