summaryrefslogtreecommitdiffstats
path: root/tests/auto/linguist/lupdate
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-10 14:46:44 +0200
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2009-07-10 18:06:15 +0200
commit5425853ec6a9f29af3378c982f12a0cca4bcb0e0 (patch)
tree1d5ac60e3d507e5afbdde270e16a1f392861f487 /tests/auto/linguist/lupdate
parent5f798ce8208fd5b1f2212246bc6b8ee2ec4652f0 (diff)
make tests independent of PATH contents
use absolute paths for the tested executables
Diffstat (limited to 'tests/auto/linguist/lupdate')
-rw-r--r--tests/auto/linguist/lupdate/testlupdate.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/linguist/lupdate/testlupdate.cpp b/tests/auto/linguist/lupdate/testlupdate.cpp
index 8abc2b01a0..04c03f1c90 100644
--- a/tests/auto/linguist/lupdate/testlupdate.cpp
+++ b/tests/auto/linguist/lupdate/testlupdate.cpp
@@ -56,8 +56,9 @@
TestLUpdate::TestLUpdate()
{
childProc = 0;
- m_cmdLupdate = QLatin1String("lupdate");
- m_cmdQMake = QLatin1String("qmake");
+ QString binPath = QLibraryInfo::location(QLibraryInfo::BinariesPath);
+ m_cmdLupdate = binPath + QLatin1String("/lupdate");
+ m_cmdQMake = binPath + QLatin1String("/qmake");
}
TestLUpdate::~TestLUpdate()