diff options
author | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-07-10 12:46:44 (GMT) |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2009-07-10 16:06:15 (GMT) |
commit | 5425853ec6a9f29af3378c982f12a0cca4bcb0e0 (patch) | |
tree | 1d5ac60e3d507e5afbdde270e16a1f392861f487 /tests/auto/linguist/lupdate | |
parent | 5f798ce8208fd5b1f2212246bc6b8ee2ec4652f0 (diff) | |
download | Qt-5425853ec6a9f29af3378c982f12a0cca4bcb0e0.zip Qt-5425853ec6a9f29af3378c982f12a0cca4bcb0e0.tar.gz Qt-5425853ec6a9f29af3378c982f12a0cca4bcb0e0.tar.bz2 |
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.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/auto/linguist/lupdate/testlupdate.cpp b/tests/auto/linguist/lupdate/testlupdate.cpp index 8abc2b0..04c03f1 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() |