Details
Description
Tests that use WAIT_FOR_NEW_TIMESTAMP fail on a Linux machine with ext4fs. Qbs is built with Qt 5.8.0.
WAIT_FOR_NEW_TIMESTAMP uses QFileInfo::lastModified to check when timestamps have changed. Executor uses FileInfo::lastModified.
QFileInfo::lastModified resolution is much higher than qbs::Internal::FileInfo's.
- Check whether is makes sense to keep FileInfo.
- Or fix FileTime's resolution on Linux. time_t doesn't cut it.
Attachments
For Gerrit Dashboard: QBS-1110 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
187641,3 | Handle sub-second timestamps correctly on Unix | master | qbs/qbs | Status: MERGED | +2 | 0 |