Use /tmp in tst_qcompleter on VxWorks
The test checks if paths in /etc and /home are properly completed. /etc and /home do not exist on VxWorks. Use /tmp instead. Pick-to: 6.7 Task-number: QTBUG-115777 Change-Id: I6203fabb003a9a81eb4cdb666a972f47a53f06d6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> (cherry picked from commit 843f8fb043a0812ab01f0a378be1a821f2e1534d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
e5890084dc
commit
fff5c065bc
@ -613,6 +613,9 @@ void tst_QCompleter::fileSystemModel_data()
|
|||||||
const QString androidDir = androidHomePath();
|
const QString androidDir = androidHomePath();
|
||||||
const QString tag = QStringLiteral("%1/fil").arg(androidDir);
|
const QString tag = QStringLiteral("%1/fil").arg(androidDir);
|
||||||
QTest::newRow(tag.toUtf8().data()) << tag << "" << "files" << androidDir + "/files";
|
QTest::newRow(tag.toUtf8().data()) << tag << "" << "files" << androidDir + "/files";
|
||||||
|
#elif defined(Q_OS_VXWORKS)
|
||||||
|
QTest::newRow("()") << "" << "" << "/" << "/";
|
||||||
|
QTest::newRow("(/tm)") << "/tm" << "" << "tmp" << "/tmp";
|
||||||
#else
|
#else
|
||||||
QTest::newRow("()") << "" << "" << "/" << "/";
|
QTest::newRow("()") << "" << "" << "/" << "/";
|
||||||
#if !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
#if !defined(Q_OS_AIX) && !defined(Q_OS_HPUX) && !defined(Q_OS_QNX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user