gecko/testing/mozbase/mozdevice/sut_tests
2014-07-11 15:29:30 -04:00
..
test-files
dmunit.py
genfiles.py
README.md
runtests.py
setup-tools.sh
test_datachannel.py
test_exec_env.py
test_exec.py
test_fileExists.py
test_getdir.py
test_info.py
test_prompt.py
test_ps.py
test_pull.py
test_push1.py
test_push2.py
test_pushbinary.py
test_pushsmalltext.py

SUT Agent tests

  • In order to run these tests you need to have a phone running SUT Agent connected.

  • Make sure you can reach the device's TCP 20700 and 20701 ports. Doing adb forward tcp:20700 tcp:20700 && adb forward tcp:20701 tcp:20701 will forward your localhost 20700 and 20701 ports to the ones on the device.

  • You might need some common tools like cp. Use the setup-tools.sh script to install them. It requires $ADB to point to the adb binary on the system.

  • Make sure the SUTAgent on the device is running.

  • Run: python runtests.py