MCPcopy Create free account
hub / github.com/boostorg/build / wait_for_time_change

Method wait_for_time_change

test/BoostBuild.py:826–835  ·  view source on GitHub ↗

Wait for newly assigned file system modification timestamps for the given path to become large enough for the timestamp difference to be correctly recognized by both this Python based testing framework and the Boost Jam executable being tested. May optionally touch

(self, path, touch)

Source from the content-addressed store, hash-verified

824 return os.path.normpath(os.path.join(self.workdir, *name.split("/")))
825
826 def wait_for_time_change(self, path, touch):
827 """
828 Wait for newly assigned file system modification timestamps for the
829 given path to become large enough for the timestamp difference to be
830 correctly recognized by both this Python based testing framework and
831 the Boost Jam executable being tested. May optionally touch the given
832 path to set its modification timestamp to the new value.
833
834 """
835 self.__wait_for_time_change(path, touch, last_build_time=False)
836
837 def __build_timestamp_resolution(self):
838 """

Callers 1

wait_for_barFunction · 0.80

Calls 1

Tested by

no test coverage detected