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

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

Issue 3277004: Move those deps/factory/* to site_tests/suite_Factory/. (Closed) Base URL: http://git.chromium.org/git/autotest.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/site_tests/factory_Audio/factory_Audio.py
diff --git a/client/site_tests/factory_Audio/factory_Audio.py b/client/site_tests/factory_Audio/factory_Audio.py
index afe77dc3277b3cc4ede22e91d4477f398ee5e331..e5689271b8f164f2d82868cddc62ee992ecf7050 100644
--- a/client/site_tests/factory_Audio/factory_Audio.py
+++ b/client/site_tests/factory_Audio/factory_Audio.py
@@ -172,8 +172,8 @@ class factory_Audio(test.test):
if path is None:
raise error.TestFail('ERROR: Must provide an audio sample')
if not os.path.isabs(path):
- # Assume rel-path samples are in deps/factory.
- path = self.job.autodir + '/deps/factory/' + path
+ # Assume the relative path is based in autotest directory.
+ path = os.path.join(self.job.autodir, path)
if not os.path.exists(path):
raise error.TestFail('ERROR: Unable to find audio sample %s' % path)
return path
« no previous file with comments | « no previous file | client/site_tests/factory_ExtDisplay/factory_ExtDisplay.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698