Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e367376 authored by Maksymilian Osowski's avatar Maksymilian Osowski
Browse files

Made the run_layout_tests.py script restart the apache2 server before it starts.

Change-Id: Ic6b4e63d20a95daddd3dfde32d4168b235d7dd91
parent 540aada3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -32,6 +32,10 @@ def main(options, args):

  tmpdir = tempfile.gettempdir()

  # Restart the server
  cmd = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "run_apache2.py") + " restart"
  os.system(cmd);

  # Run the tests in path
  cmd = "adb shell am instrument "
  cmd += "-e class com.android.dumprendertree2.scriptsupport.Starter#startLayoutTests "