qt6-bb10/tests/auto
Ł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
..
bic/data Add binary compatibility file for 6.7.0 2024-04-17 10:18:37 +00:00
cmake Correct license for test files 2024-05-08 13:09:11 +02:00
concurrent Fix truncation warning in generation_helpers 2024-03-18 20:10:34 +01:00
corelib Fix tst_QFileSysteMWatcher::basicTest on VxWorks 2024-05-15 18:22:39 +02:00
dbus QDBusSignature: accept empty strings as valid 2024-05-10 13:17:20 -07:00
gui Support SVG specific stroke styling properties 2024-05-14 21:48:12 +03:00
guiapplauncher Convert "Color Editor Factory" Example to snippets 2024-04-19 13:39:41 +02:00
network Improve test compilation setup with QtLite configuration 2024-05-10 09:04:44 +00:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other CMake: Remove mention of tests/auto/other/atwrapper 2024-05-11 18:32:29 +02:00
printsupport Change license for tests files 2024-02-04 09:56:42 +01:00
shared Change license for tests files 2024-02-04 09:56:42 +01:00
sql SQL tests: Fix dropping procedures Firebird/IBase 2024-05-08 08:36:19 +02:00
testlib QTest: rip out qxp::function_ref from reportResult() 2024-04-26 18:19:36 +02:00
tools Add REUSE ignore comment 2024-05-08 11:09:28 +00:00
wasm wasm: Allow fetching from background thread 2024-05-10 09:55:19 +00:00
widgets QSizeF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-14 14:33:21 +02:00
xml QtXml: fix leak in QDomText::splitText 2024-03-02 21:22:53 +01:00
CMakeLists.txt wasm: Enable qstandardpaths test 2024-05-06 16:01:28 +02:00
network-settings.h Change license for tests files 2024-02-04 09:56:42 +01:00