aboutsummaryrefslogtreecommitdiff
path: root/crosperf
diff options
context:
space:
mode:
Diffstat (limited to 'crosperf')
-rw-r--r--crosperf/autotest_runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/crosperf/autotest_runner.py b/crosperf/autotest_runner.py
index 5611b655..dc35a59f 100644
--- a/crosperf/autotest_runner.py
+++ b/crosperf/autotest_runner.py
@@ -24,6 +24,12 @@ class AutotestRunner(object):
command = "rm -rf /usr/local/autotest/results/*"
self._ce.CrosRunCommand(command, machine=machine_name, username="root",
chromeos_root=chromeos_root)
+
+ command ="reboot && exit"
+ self._ce.CrosRunCommand(command, machine=machine_name,
+ chromeos_root=chromeos_root)
+ time.sleep(60)
+
command = ("./run_remote_tests.sh --remote=%s %s %s" %
(machine_name, options, autotest_name))
return self._ce.ChrootRunCommand(chromeos_root, command, True, self._ct)