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:28:40 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-02-05 21:28:40 +0000
commitcddd960b0ba2eb62c372c0d3176c75f0bd05d5e8 (patch)
treef592e7ccc058bdd6c0beda99a104df4f73c5e1d3 /crosperf/suite_runner_unittest.py
parent81bca172159b02808081a57062a1c61ee9c54d76 (diff)
parent3c0fcaf157c060979b09c0d8e7a982ff5d1acdab (diff)
downloadtoolchain-utils-cddd960b0ba2eb62c372c0d3176c75f0bd05d5e8.tar.gz
Merging 8 commit(s) from Chromium's toolchain-utils am: 928fba9d74 am: cfb8763e2b am: 3c0fcaf157
Change-Id: Ie5c5dbcb6f4cfb497c32c3c73466e844ebf1dd6c
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 '