summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVineeth T M <vineeth.tm@samsung.com>2015-08-26 10:36:51 +0900
committerThibault Saunier <tsaunier@gnome.org>2015-10-02 17:20:18 +0200
commit1b700f13b4898d6d82e4b7576180eca9d0858390 (patch)
tree4ed6e951d4d88c705a223cf3e4e84a5fc187519c
parent91b3001f770a6a7216acd231739b341433be8e65 (diff)
validate: launcher: Support relative path for folder names
Even though relative paths are supported, right now it does not work when we give the path as 'media/' present in the current directory. Adding support for the same. https://bugzilla.gnome.org/show_bug.cgi?id=754100
-rw-r--r--validate/launcher/apps/gstvalidate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/validate/launcher/apps/gstvalidate.py b/validate/launcher/apps/gstvalidate.py
index 553e8f9..51f9205 100644
--- a/validate/launcher/apps/gstvalidate.py
+++ b/validate/launcher/apps/gstvalidate.py
@@ -682,7 +682,7 @@ not been tested and explicitely activated if you set use --wanted-tests ALL""")
else:
for root, dirs, files in os.walk(path):
for f in files:
- fpath = os.path.join(os.path.abspath(path), root, f)
+ fpath = os.path.abspath(os.path.join(root, f))
if os.path.isdir(fpath) or \
fpath.endswith(GstValidateMediaDescriptor.MEDIA_INFO_EXT) or\
fpath.endswith(ScenarioManager.FILE_EXTENSION):