Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Commit

Permalink
Bug 1234345 - Add cli_functional.py script to firefox_ui_harness for …
Browse files Browse the repository at this point in the history
…backward compatibility. r=maja_zf
  • Loading branch information
whimboo committed Dec 21, 2015
1 parent 9eaa396 commit 46f0ab9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ before_script:

script:
# Run the tests with e10s disabled
- cat binary.txt | xargs -I binary_path firefox-ui-tests --binary binary_path --gecko-log -
- cat binary.txt | xargs -I binary_path firefox-ui-functional --binary binary_path --gecko-log -

# Run in e10s mode
- cat binary.txt | xargs -I binary_path firefox-ui-tests --binary binary_path --gecko-log - --e10s
- cat binary.txt | xargs -I binary_path firefox-ui-functional --binary binary_path --gecko-log - --e10s

notifications:
irc:
Expand Down
4 changes: 2 additions & 2 deletions firefox_ui_harness/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from cli_update import cli_update
from runtests import cli
import cli_functional
import cli_update
9 changes: 9 additions & 0 deletions firefox_ui_harness/cli_functional.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from firefox_ui_harness.runtests import cli as cli_functional


if __name__ == '__main__':
cli_functional()
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
entry_points="""
[console_scripts]
firefox-ui-tests = firefox_ui_harness:cli
firefox-ui-functional = firefox_ui_harness.cli_functional:cli_functional
firefox-ui-update = firefox_ui_harness.cli_update:cli_update
""")

0 comments on commit 46f0ab9

Please sign in to comment.