ochameau/jetpack-subprocess — pull request #2 by mykmelez (2012-09-19 15:59:14+00:00)
Title: make package use jsctypes implementation

Here's a conversion to the new jsctypes implementation in http://hg.mozilla.org/ipccode. Tests mostly work on Windows and Mac, except that "got stderr before finished" fails on both platforms. I don't know whether that's an actual failure or just a change in the implementation.

(addon-sdk)09-19 08:55 > cfx test
Using binary at '/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin'.
Using profile at '/var/folders/lp/8t_7y24119720_hjp5wc_4cr0000gn/T/tmp8USz1G.mozrunner'.
Running tests on Firefox 18.0a1/Gecko 18.0a1 ({ec8030f7-c20a-464f-9b0e-13a3a9e97384}) under darwin/x86.
...error: subprocess: TEST FAILED: test-subprocess.testUnix (failure)
error: subprocess: fail: got stderr before finished
info: subprocess: Traceback (most recent call last):
File "resource://73541322-0e86-466f-9340-9827cdf609bf-at-jetpack/subprocess/lib/subprocess.js", line 1530, in _done
stderr: error,
File "resource://73541322-0e86-466f-9340-9827cdf609bf-at-jetpack/subprocess/tests/test-subprocess.js", line 78, in null
test.assert(gotStderr, "got stderr before finished");
File "resource://73541322-0e86-466f-9340-9827cdf609bf-at-jetpack/api-utils/lib/unit-test.js", line 133, in assert
this.fail(message);
File "resource://73541322-0e86-466f-9340-9827cdf609bf-at-jetpack/api-utils/lib/unit-test.js", line 71, in fail
this.console.trace();

3 of 4 tests passed.
Total time: 2.213821 seconds
Program terminated unsuccessfully.