Quantcast

Is mach show-log supposed to show test logs?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Is mach show-log supposed to show test logs?

Benjamin Smedberg
I'm a bit confused about mach show-log and what it's supposed to contain. If I run a test command, for example: `mach mochitest dom/plugins/test` I see a bunch of output and no clear indication of whether any particular test failed. So then I was going to go back through the log and look for UNEXPECTED- markers, but mach show-log does nothing.

Is show-log supposed to work in this case? It seems really painful that I don't get a clear summary of test results after running a command, and no way to go back and check.

--BDS

_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is mach show-log supposed to show test logs?

Mike Hommey
On Wed, Feb 08, 2017 at 10:51:03AM -0500, Benjamin Smedberg wrote:
> I'm a bit confused about mach show-log and what it's supposed to contain.
> If I run a test command, for example: `mach mochitest dom/plugins/test` I
> see a bunch of output and no clear indication of whether any particular
> test failed. So then I was going to go back through the log and look for
> UNEXPECTED- markers, but mach show-log does nothing.
>
> Is show-log supposed to work in this case? It seems really painful that I
> don't get a clear summary of test results after running a command, and no
> way to go back and check.

show-low is supposed to show you the log of the last mach command...
assuming the last mach command is actually logging properly, which is
sadly not the case for every test suite :(

Please file bugs for test suites you notice don't work.

Mike
_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Is mach show-log supposed to show test logs?

Benjamin Smedberg

On Wed, Feb 8, 2017 at 5:09 PM, Mike Hommey <[hidden email]> wrote:
On Wed, Feb 08, 2017 at 10:51:03AM -0500, Benjamin Smedberg wrote:
> I'm a bit confused about mach show-log and what it's supposed to contain.
> If I run a test command, for example: `mach mochitest dom/plugins/test` I
> see a bunch of output and no clear indication of whether any particular
> test failed. So then I was going to go back through the log and look for
> UNEXPECTED- markers, but mach show-log does nothing.
>
> Is show-log supposed to work in this case? It seems really painful that I
> don't get a clear summary of test results after running a command, and no
> way to go back and check.

show-low is supposed to show you the log of the last mach command...
assuming the last mach command is actually logging properly, which is
sadly not the case for every test suite :(

Please file bugs for test suites you notice don't work.

Mike


_______________________________________________
dev-builds mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-builds
Loading...