summaryrefslogtreecommitdiff
path: root/startop/scripts/iorap/compiler_test.py
diff options
context:
space:
mode:
authorYan Wang <yawanng@google.com>2019-09-06 16:19:03 -0700
committerYan Wang <yawanng@google.com>2019-09-10 11:47:23 -0700
commit75015c32eb2f3cc890c6aabd49d0508a471166cd (patch)
tree2934ec61d6f90d964164bfeb3c036afb74e2f804 /startop/scripts/iorap/compiler_test.py
parent18206aecea314e08bc7040c4127a815652d6f755 (diff)
startop: add compiler type support to host and device switch.
When using device, the python modules for host are not loaded to be compatiable in tradefed. Test: pytest Test: python app_startup_runner.py --package com.google.android.GoogleCamera --readahead fadvise --inodes textcache --output output.txt -lc 1 -d Change-Id: I9fe54045fbabda5f66ebe1cfe6d0a5461fff0640
Diffstat (limited to 'startop/scripts/iorap/compiler_test.py')
-rw-r--r--startop/scripts/iorap/compiler_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/startop/scripts/iorap/compiler_test.py b/startop/scripts/iorap/compiler_test.py
index 1a9f059fc6b6..d1f11c5da2a5 100644
--- a/startop/scripts/iorap/compiler_test.py
+++ b/startop/scripts/iorap/compiler_test.py
@@ -30,7 +30,7 @@ See also https://docs.pytest.org/en/latest/usage.html
"""
import os
-import compiler
+import compiler_host as compiler
DIR = os.path.abspath(os.path.dirname(__file__))
TEXTCACHE = os.path.join(DIR, 'test_fixtures/compiler/common_textcache')