aboutsummaryrefslogtreecommitdiff
path: root/crosperf/suite_runner_unittest.py
diff options
context:
space:
mode:
authorAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-05 21:08:23 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-05 21:08:23 +0000
commitcfb8763e2bfd3fbba55c880a2858b8c73a1cd3ad (patch)
treef592e7ccc058bdd6c0beda99a104df4f73c5e1d3 /crosperf/suite_runner_unittest.py
parentb6ed922ff73f31b13749595f02b62a849a904dcc (diff)
parent928fba9d7416ccbbeb8fc2bfccf5b9bfd8906444 (diff)
downloadtoolchain-utils-cfb8763e2bfd3fbba55c880a2858b8c73a1cd3ad.tar.gz
Merging 8 commit(s) from Chromium's toolchain-utils am: 928fba9d74
Change-Id: I1f4781ba6673c19a7563925520ee4016ca8500f6
Diffstat (limited to 'crosperf/suite_runner_unittest.py')
-rwxr-xr-xcrosperf/suite_runner_unittest.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/crosperf/suite_runner_unittest.py b/crosperf/suite_runner_unittest.py
index 413822a2..7f3a7bc4 100755
--- a/crosperf/suite_runner_unittest.py
+++ b/crosperf/suite_runner_unittest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
@@ -14,7 +14,7 @@ import os.path
import time
import unittest
-import mock
+import unittest.mock as mock
import suite_runner
import label
@@ -227,7 +227,7 @@ class SuiteRunnerTest(unittest.TestCase):
self.assertEqual(
args_list[1],
('/usr/bin/test_that --autotest_dir '
- '~/trunk/src/third_party/autotest/files --fast '
+ '/mnt/host/source/src/third_party/autotest/files --fast '
"--board=lumpy --args=' run_local=False test=octane "
'dut_config=\'"\'"\'{"turbostat": true, "top_interval": 3}\'"\'"\' '
'profiler=custom_perf profiler_args=\'"\'"\'record -a -e '