1. jasonyeo
  2. ash-mozharness

Commits

Armen Zambrano Gasparnian  committed 9834d35
  • Participants
  • Parent commits 7f555a8
  • Branches default

Comments (0)

Files changed (1)

File mozharness/mozilla/testing/talos.py

View file
 from mozharness.base.log import OutputParser, DEBUG, ERROR, CRITICAL, FATAL
 from mozharness.base.script import BaseScript
 from mozharness.mozilla.testing.testbase import TestingMixin, testing_config_options, INSTALLER_SUFFIXES
-from mozharness.base.vcs.vcsbase import VCSMixin
+from mozharness.base.vcs.vcsbase import MercurialScript
 
 TalosErrorList = PythonErrorList + [
  {'regex': re.compile(r'''run-as: Package '.*' is unknown'''), 'level': DEBUG},
     ]
 
 
-class Talos(TestingMixin, BaseScript, VCSMixin):
+class Talos(TestingMixin, MercurialScript):
     """
     install and run Talos tests:
     https://wiki.mozilla.org/Buildbot/Talos
 
         src_talos_path = os.path.join(talos_repo_path, 'talos')
         dest_talos_path = os.path.join(self.workdir, 'talos')
-        mv_command = ['mv', src_talos_path, dest_talos_path]
-        self.run_command(mv_command, cwd=self.workdir)
+        self.move(src_talos_path, dest_talos_path)
+
+        cp_command = ['cp', '-rf', dest_talos_path, talos_webdir]
+        self.run_command(cp_command, cwd=self.workdir)
 
         if c.get('use_talos_json'):
             if self.query_pagesets_url():