Status
People
(Reporter: jgriffin, Assigned: jgriffin)
Tracking
Firefox Tracking Flags
(Not tracked)
Details
Attachments
(2 attachments)
In buildbot, we invoke gaia-ui-tests with 'python runtests.py ...'. This currently fails to run any tests, because of this block of code: if __name__ == "__main__": main() and the fact that runtests.py is defined as an entrypoint for gaiatest: entry_points=""" # -*- Entry points: -*- [console_scripts] gaiatest = gaiatest.runtests:main """, In effect, this means that __name__ is never "__main__" in runtests.py; instead it's "gaiatest". To get around this problem, we can add a cli.py to gaiatest that can be used to run the tests using 'python cli.py...'; calling 'gaiatest' directly (as our Jenkins jobs do) will still work normally as well.
(Assignee) | ||
Comment 1•6 years ago
|
||
Created attachment 773529 [details] Pointer to Github pull request: https://github.com/mozilla/gaia-ui-tests/pull/1088 Pointer to Github pull-request
(Assignee) | ||
Updated•6 years ago
|
Attachment #773529 -
Flags: review?(dave.hunt)
Comment 2•6 years ago
|
||
Comment on attachment 773529 [details] Pointer to Github pull request: https://github.com/mozilla/gaia-ui-tests/pull/1088 r+ (merged)
Attachment #773529 -
Flags: review?(dave.hunt) → review+
(Assignee) | ||
Comment 3•6 years ago
|
||
https://github.com/mozilla/gaia-ui-tests/commit/7f375e489b2ba25b05d0782d2e25539596b253ed Now we need to update the mozharness script, which I'm going to do using this same bug.
(Assignee) | ||
Comment 4•6 years ago
|
||
Created attachment 774077 [details] [diff] [review] Use cli.py instead of runtests.py when invoking gaiatests,
Attachment #774077 -
Flags: review?(aki)
Updated•6 years ago
|
Attachment #774077 -
Flags: review?(aki) → review+
(Assignee) | ||
Comment 5•6 years ago
|
||
https://hg.mozilla.org/build/mozharness/rev/afd748cdd6eb
(Assignee) | ||
Comment 6•6 years ago
|
||
in production
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•