Hi all,

I've just landed a simple patch that allows you to setup NSPR log modules to get an NSPR log from a try push.

Instructions:

    * Open the script file testing/mochitest/runtests.py
    * Search for NSPR_LOG_MODULES = "", should look as:

# Set the desired log modules you want an NSPR log be produced by a try run for, or leave blank to disable the feature. # This will be passed to NSPR_LOG_MODULES environment variable. Try run will then put a download link for the log file
    # on tbpl.mozilla.org.

    NSPR_LOG_MODULES = ""

* Change the empty string "" to a string with list of all your modules and levels to produce the log for, same way as you've been setting up NSPR_LOG_MODULES environment variable
    * Push this modification to try along with your patch(es)
* All produced NSPR logs in a single zip file are then uploaded for each completed run to amazonaws, you will find the link in the results window at the bottom of tbpl.mozilla.org to download them


Doesn't work for B2G - no way to upload the log.
Currently only allowed for mochitests.

(blog post: http://www.janbambas.cz/get-nspr-log-from-tryserver-run/)

-hb-

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to