Skip to content

Does the test only support little endianess? #507

Closed
@rperlas

Description

@rperlas

When I attempt an NPM on big endian machines, I run into two failing test cases.

One error is on the command: "node --expose-gc nannew-test.js".

Another error is:

not ok 69 ../cpp/nannew.cpp:323: stringMatches( New(widestring, 4).ToLocalChecked(), "Hell")
---
file: events.js
line: 72
column: 20
stack:
- |
getCaller (/home/nodebot/node_modules/nan/node_modules/tap/lib/tap-assert.js:439:17)
- |
Function.assert (/home/nodebot/node_modules/nan/node_modules/tap/lib/tap-assert.js:21:16)
- |
Test._testAssert as ok
- |
emitNone (events.js:72:20)
- |
Test.emit (events.js:166:7)
- |
Test.emit (/home/nodebot/node_modules/nan/node_modules/tap/lib/tap-test.js:104:8)
- |
GlobalHarness.Harness.process (/home/nodebot/node_modules/nan/node_modules/tap/lib/tap-harness.js:87:13)
- |
doNTCallback0 (node.js:417:9)
- |
process._tickCallback (node.js:346:13)
- |
emitNone (events.js:72:20)

10:54:20 AM: not ok 95 test/js/nannew-test.js

I am wondering if this is because big endianess is not supported?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions