tree: ac2a591b35bf5477c12677d79d0c52167beb75c2 [path history] [tgz]
  1. test-files/
  2. dmunit.py
  3. genfiles.py
  4. README.md
  5. runtests.py
  6. setup-tools.sh
  7. test_datachannel.py
  8. test_exec.py
  9. test_exec_env.py
  10. test_fileExists.py
  11. test_getdir.py
  12. test_info.py
  13. test_prompt.py
  14. test_ps.py
  15. test_pull.py
  16. test_push1.py
  17. test_push2.py
  18. test_pushbinary.py
  19. test_pushsmalltext.py
src/third_party/mozjs-45/testing/mozbase/mozdevice/sut_tests/README.md

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