On 10/8/12 12:34 PM, Jesper Kristensen wrote:

Before you deprecate the make targets, it would be nice if mach actually
works and there is documentation for it.

For documentation, one of the fundamental features of mach is it should be self-documenting. You should be able to run |mach help| and figure out how to do something. There are plans to update more of the documentation on MDN to reflect going through mach. But, I've been holding off until after we squash all the small bugs in mach that people have been finding.

I have so far not been able to
figure out how to run a test with mach. This is what I tried:

$ ./mach xpcshell-test
toolkit/mozapps/extensions/test/xpcshell/test_dictionary
.js
<snip>
Exception: testsRootDir is not a parent path of
c:\Users\Jesper\Desktop\web\mozi
lla\build\mozilla-central\src\obj-i686-pc-mingw32\_tests\xpcshell\toolkit\mozapp

s\extensions\test\xpcshell

I was able to run this just fine on OS X. It's possible it's a Windows issue. It's also possible your tree wasn't fully built. It could be bug 799041. Whatever it is, the error messaging in mach for "I don't know what test you are talking about" could be improved. Would you mind filing a bug? See also bug 795427 for making mach's exception output much, much cleaner.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to