Closed
Bug 1434075
Opened 7 years ago
Closed 7 years ago
packaged mozmill cannot be installed as described in documentation
Categories
(Thunderbird :: Testing Infrastructure, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: joachim.herb, Unassigned)
References
()
Details
On https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_MozMill_Testing/Running_Thunderbird_MozMill_tests_from_packaged_tests it is described how to intstall the packaged mozmill tool and tests:
python resources/installmozmill.py ../mozmill-virtualenv ../mozbase
This worked up to version 59.0a1. But with the current nightly builds of 60.0a1 this does not work anymore:
python resources\installmozmill.py ..\mozmill-virtualenv ..\mozbase
Traceback (most recent call last):
File "resources\installmozmill.py", line 15, in <module>
import buildconfig
ImportError: No module named buildconfig
It looks like the try server builds (now?) use the mozharness infrastructure. But there seems to be no documentation of this use within thunderbird.
(why I need this: for the development of the addon CompactHeader https://addons.mozilla.org/de/thunderbird/addon/compactheader/ I also use mozmill tests: https://travis-ci.org/jmozmoz/compactheader to make sure there are now regressions. These tests are based on the mozmill tests of Thunderbird)
Updated•7 years ago
|
Flags: needinfo?(mozilla)
Reporter | ||
Comment 1•7 years ago
|
||
Reporter | ||
Comment 2•7 years ago
|
||
This is a result of bug #1428494. It can be worked around by links/junctions and a dummy buildconfig.py (in testing/mozmill/resources) file:
import os
substs = {}
substs['top_srcdir'] = os.path.abspath(os.path.join('..', '..'))
Then
cd testing
ln -s tools ../python
I have updated the documentation at https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Thunderbird_MozMill_Testing/Running_Thunderbird_MozMill_tests_from_packaged_tests#Setup_mozmill
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•