qt6-bb10/tests/auto/corelib
Łukasz Matysiak 7fad4df8df Fix tst_QFileSysteMWatcher::basicTest on VxWorks
POSIX2008 demands that `stat` contains an `st_mtim` field of type `timespec`.
That field holds modification time with a nanosecond resolution.

VxWorks reports _POSIX_VERSION as 200112.
The `stat` struct does not contain `st_mtim`, but rather an `st_mtime` which
holds a `time_t` which contains seconds.

Because of that, when the test creates and modifies a file within one
second, the polling watcher does not detect any changes.

Fix the problem by postponing the watcher by 1s.

Pick-to: 6.7
Task-number: QTBUG-115777
Change-Id: Idfc1d7b2e111967a42c93c0adaffaa7d28ee20a7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2024-05-15 18:22:39 +02:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Fix moc include for tst_qcomparehelpers 2024-05-13 15:25:50 +02:00
io Fix tst_QFileSysteMWatcher::basicTest on VxWorks 2024-05-15 18:22:39 +02:00
ipc QNativeIpcKey: use new comparison helper macros 2024-04-17 20:30:37 +02:00
itemmodels Extend QTest::failOnWarning() to a no-parameter fail-on-any-warning 2024-05-06 20:27:41 +02:00
kernel QElapsedTimer: use new comparison helper macros 2024-05-14 00:32:34 +02:00
mimetypes QMimeType: use modernize comparisons 2024-04-30 17:46:34 +02:00
platform tst_qcomobject: Reduce size of Qt-namespace 2024-05-13 15:25:36 +02:00
plugin tst_QFactoryLoader: includemocs 2024-03-12 14:23:42 +01:00
serialization Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
text QStaticLatin1StringMatcher: add indexIn(QStringView) 2024-05-08 22:05:35 +02:00
thread QtPrivate::ResultIteratorBase: use modernize comparisons 2024-05-14 00:32:35 +02:00
time Improve test compilation setup with QtLite configuration 2024-05-10 09:04:44 +00:00
tools QSizeF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-14 14:33:21 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00