validate:launcher: Do not except meaningless argument in ges-launch

This commit is contained in:
Thibault Saunier 2014-04-30 11:13:51 +02:00
parent 804cdb5ad2
commit 97482e2512

View file

@ -216,10 +216,12 @@ class GESTestsManager(TestsManager):
projects.append(utils.path2url(os.path.join(path, root, f)))
else:
for proj in self.args:
if utils.isuri(proj):
if not utils.isuri(proj):
proj = utils.path2url(proj)
if os.path.exists(proj):
projects.append(proj)
else:
projects.append(utils.path2url(proj))
SCENARIOS = ["play_15s",
"seek_forward",
"seek_backward",