Auto-tools/Projects/Mozharness: Difference between revisions

Notes on testing changes
(Improved page)
(Notes on testing changes)
Line 78: Line 78:


= Testing your mozharness changes =
= Testing your mozharness changes =
You can try your changes locally and then ask for review.
You can try your changes locally and then ask for review in the bug.<br />
In the future, we would like to allow for testing of changes on the try server: {{bug|791924}}
 
You can do so by:
* Create a patch by running "hg diff > my_patch.diff"
* Click on "Add an attachment" and attach the file
* Add a description on how this works and known issues
* Change the feedback dropbox to "?" and enter the email address of the person will check your code
** That person will receive an email notification and should be getting back to you in the next day or so
 
'''Unit tests'''<br />
You can run ./unit.sh to ensure that you pass all unit tests.
 
'''Testing live'''
Mozharness patches can be tested on the TryServer if you have commit access and a user repo.
You can [http://armenzg.blogspot.ca/2014/11/pinning-mozharness-from-in-tree-aka.html read this] and ask for information on how to get the required privileges to do so.
Meanwhile, your mentor can help you test the changes for you.


= Where can I help? =
= Where can I help? =
Confirmed users
3,990

edits