Remove run_remote_tests references.
run_remote_tests.sh is about to be removed from ChromeOS. This
CL removes all references to run_remote_tests from toolchain-utils.
It also updates unittests to make sure they work with recent
changes.
BUG=crbug:498778
TEST=Verifed results_cache_unittest (and all the other unittests)
works with changes.
Change-Id: Ic9413bf77a1679e1267b81b182fa7f64da2629b5
Reviewed-on: https://chrome-internal-review.googlesource.com/216884
Reviewed-by: David Sharp <dhsharp@google.com>
Commit-Queue: Caroline Tice <cmtice@google.com>
Tested-by: Caroline Tice <cmtice@google.com>
diff --git a/crb/autotest_run.py b/crb/autotest_run.py
index d6dc70f..bae2547 100644
--- a/crb/autotest_run.py
+++ b/crb/autotest_run.py
@@ -302,11 +302,11 @@
if self.board:
options += " --board=%s" % self.board
if self.autotest.args:
- options += " %s" % self.autotest.args
+ options += " --args='%s'" % self.autotest.args
if "tegra2" in self.board:
self.DoPowerdHack()
- command += ("&& cros_sdk -- ./run_remote_tests.sh --remote=%s %s %s" %
- (machine_name,
- options,
+ command += ("&& cros_sdk -- /usr/bin/test_that %s %s %s" %
+ (options,
+ machine_name,
self.autotest.name))
return self._ce.RunCommand(command, True)