Comments (11)
fixed
from v7.
Is there any test case that exercises this?
from v7.
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.
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.
@vrz could you send a PR with the test case please - just add it to tests/unit_test.c?
from v7.
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.
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.
@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.
Yes, tried on windows+gcc.
Fail on line 121: [check_num(v7, v, NAN)]
from v7.
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.
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)
- V7 ScriptBASIC integration on Windows 7 32 bit HOT 41
- unit_test fails HOT 3
- v7_next_prop - No property attributes being returned HOT 10
- Script BASIC HOT 9
- v7.c: line:29703 /* TODO(dfrank) : add getter/setter support */ HOT 1
- How to load the byte code generated by v7_compile? HOT 4
- Can't call js function from C HOT 13
- Make user_data property as _V7_PROPERTY_OFF_HEAP HOT 1
- Problem running a basic test program HOT 2
- Segmentation Faults 2017-05-09
- Can I run under iOS? And Is it thread safe? HOT 2
- v7 support ajax?
- Trouble passing "true", "false" and "null" HOT 3
- v7_array_length issue HOT 1
- link errors since commit 8d8d8ce5... HOT 1
- Developer Centre down?
- C program crashes when trying to retrieve one of struct members as object member if below 0 HOT 4
- v7 Optimization tips
- Linker errors: Undefined symbols for architecture x86_64
- JSON.parse error
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 v7.