tests: explicitly put the path to xmlpatterns tools
authorRohan McGovern <rohan.mcgovern@nokia.com>
Wed, 10 Aug 2011 03:28:53 +0000 (13:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 14 Oct 2011 00:37:30 +0000 (02:37 +0200)
commiteea5f7496caa46a40fd609d13a327ae9c887e67e
tree90ab39dce8b803889491b1eb125aa6d1f092bc7f
parent32d692798fef2cb34a0894959b83b7eab95649dd
tests: explicitly put the path to xmlpatterns tools

Previously, these tests used whatever version of the xmlpatterns tools
happened to be first in PATH, which was quite error-prone.  QLibraryInfo
can tell us exactly where the binaries are supposed to be located, so
use that instead.

Change-Id: I556ffe1819560afbe6a8bfa5272fcf2a760a14f7
Reviewed-on: http://codereview.qt-project.org/2799
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
tests/auto/xmlpatterns/tst_xmlpatterns.cpp
tests/auto/xmlpatternsvalidator/tst_xmlpatternsvalidator.cpp