summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2017-11-01 14:23:16 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2017-11-29 10:21:05 +0000
commit4c1e5f0e3b65a22e2db386cc7210a7ca1b63d089 (patch)
tree3c88c6e15bc7fc92db621492d87649037478721e
parentf9897305f379908871f07046fe4f4629f191965e (diff)
android: tradefed: fix stable vts execution failure
This is needed for 8.0-vts release else we will get this error: Error: Could not find or load main class com.android.compatibility.common.tradefed.command.CompatibilityConsole Change-Id: I45f22231467bf1aca4b6300f651daaf833481228 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rwxr-xr-xautomated/android/tradefed/tradefed-runner.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/automated/android/tradefed/tradefed-runner.py b/automated/android/tradefed/tradefed-runner.py
index ebf9b26..3fb97a3 100755
--- a/automated/android/tradefed/tradefed-runner.py
+++ b/automated/android/tradefed/tradefed-runner.py
@@ -142,6 +142,7 @@ if args.TEST_PATH == "android-cts":
command = "android-cts/tools/cts-tradefed"
prompt = "cts-tf >"
if args.TEST_PATH == "android-vts":
+ os.environ["VTS_ROOT"] = os.getcwd()
command = "android-vts/tools/vts-tradefed"
prompt = "vts-tf >"