Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1110

FileTime resolution possibly too low

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.8.0
    • 1.7.1
    • General
    • None
    • e760693b84bc88eba78b1d3e08899ad6b5c80ac5

    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

        Activity

          People

            kandeler Christian Kandeler
            jbornema Joerg Bornemann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes