validate: Fix wrong condition check when adding tests
authorVineeth T M <vineeth.tm@samsung.com>
Mon, 22 Feb 2016 02:49:48 +0000 (11:49 +0900)
committerThibault Saunier <tsaunier@gnome.org>
Sat, 5 Mar 2016 11:56:14 +0000 (12:56 +0100)
commit7d9e9b3b79d1bc47b5dfb388651d4d0a768ef6ff
treef51c27d9b84ee112ae20da5aa2f2ff1db2d41d9f
parent6a0170709cce6c1bc72dde8f560778934ce110ea
validate: Fix wrong condition check when adding tests

When listing tests, checking whether uri is present or not and displaying error.
But uri does notneed to be present in case of pipeline generator. So the condition check is wrong.
This results in validateelements testsuite not working. Hence modifying the condition to
not error out on valid cases.

https://bugzilla.gnome.org/show_bug.cgi?id=762422
validate/launcher/apps/gstvalidate.py