Reference: nodejs/node#9618
git clone https://github.com/targos/node.git node-async-await
cd node-async-await
git checkout v8-5.5
./configure
make -j4
make test
make install
Run last command as root or through sudo.
Only 1 test fails:
assert.js:85
throw new assert.AssertionError({
^
AssertionError: Expected "\ufffd\ufffd\u41", but got "\ufffd\u41"
input: f0,b8,41
Write sequence: [[0,3]]
Full Decoder State: StringDecoder {
encoding: 'utf8',
fillLast: [Function: utf8FillLast],
lastNeed: 0,
lastTotal: 0,
lastChar: <Buffer 03 00 00 00> }
at /home/raivo/node-async-await/test/parallel/test-string-decoder.js:134:14
at Array.forEach (native)
at test (/home/raivo/node-async-await/test/parallel/test-string-decoder.js:119:13)
at Object.<anonymous> (/home/raivo/node-async-await/test/parallel/test-string-decoder.js:45:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
Command: out/Release/node /home/raivo/node-async-await/test/parallel/test-string-decoder.js
[00:49|% 100|+ 1308|- 1]: Done