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

Method wait_for_time_change

v2/test/BoostBuild.py:824–833  ·  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

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

Callers 1

wait_for_barFunction · 0.80

Calls 1

Tested by

no test coverage detected