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

(cherry picked from commit 46f0ab9)
  • Loading branch information
whimboo committed Dec 22, 2015
1 parent 2173284 commit 7f3ae3e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Expand Up @@ -39,10 +39,10 @@ before_script:

script:
# Run in non-e10s mode
- firefox-ui-tests --installer *firefox-* --gecko-log -
- firefox-ui-functional --installer *firefox-* --gecko-log -

# Run in e10s mode
- firefox-ui-tests --installer *firefox-* --gecko-log - --e10s
- firefox-ui-functional --installer *firefox-* --gecko-log - --e10s

notifications:
irc:
Expand Down
4 changes: 2 additions & 2 deletions firefox_ui_harness/__init__.py
Expand Up @@ -2,8 +2,8 @@
# 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

from testcases import (FirefoxTestCase,
UpdateTestCase,
Expand Down
9 changes: 9 additions & 0 deletions firefox_ui_harness/cli_functional.py
@@ -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
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 7f3ae3e

Please sign in to comment.