Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py

Issue 6090004: Move Autotest to /usr/local/autotest and fix hard-coded autodir paths in client tests. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/autotest.git@master
Patch Set: Revert to hard-coded path for logging_UserCrash Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py
diff --git a/client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py b/client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py
index f7066486d26016639b3d8ccee2f2ec90d3bcc5fe..0495a5ad13e7eed09a2e525a486a8ff2def71e38 100755
--- a/client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py
+++ b/client/site_tests/realtimecomm_GTalkAudioBench/realtimecomm_GTalkAudioBench.py
@@ -24,9 +24,12 @@ class realtimecomm_GTalkAudioBench(test.test):
# 'telephone-event',
# 'CN',
]
- # TODO(zhurunz): Support ARM once available.
- gips_path = '/home/autotest/gips'
- gips = os.path.join(gips_path, 'audiotesttool.i686')
+
+ def setup(self):
+ # TODO(zhurunz): Support ARM once available.
+ self.gips_path = os.path.join(self.autodir, 'gips')
+ self.gips = os.path.join(self.gips_path, 'audiotesttool.i686')
+
def run_once(self):
# Setup as appropriate

Powered by Google App Engine
This is Rietveld 408576698