diff options
author | Andrew Low <Andrew_Low@ca.ibm.com> | 2014-04-01 10:18:09 -0400 |
---|---|---|
committer | Fedor Indutny <fedor@indutny.com> | 2014-04-01 23:17:43 +0400 |
commit | f984555d47298cfb01b3e55c2861066379306fc3 (patch) | |
tree | be3771704e6504a8f937bdc35fac54da37f620fd /deps/v8/.gitignore | |
parent | 8d6fa72d9720963387b73e0770eeec4dd0ba6dce (diff) | |
download | android-node-v8-f984555d47298cfb01b3e55c2861066379306fc3.tar.gz android-node-v8-f984555d47298cfb01b3e55c2861066379306fc3.tar.bz2 android-node-v8-f984555d47298cfb01b3e55c2861066379306fc3.zip |
test: make test-smalloc endian aware
The test/simple/test-smalloc.js has an implicit assumption
of the byte order of the data stored for Double and Uint32
values. On a big endian platform this test fails without
these patches.
Use os.endianness() to detect the endian of the platform
and use it to gate the static value used for comparison.
Diffstat (limited to 'deps/v8/.gitignore')
0 files changed, 0 insertions, 0 deletions