chiark / gitweb /
tests/example: Reset times of (copied) source files too
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Dec 2019 13:07:53 +0000 (13:07 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 29 Dec 2019 16:04:44 +0000 (16:04 +0000)
commit2c590a124e0d566790f756cad4872f13e2c9aa0a
treefb6cb4a16fccdda3cc6404c079424765b764eba2
parentabe15f92c1ce4947a30e6734c44c0d1253689328
tests/example: Reset times of (copied) source files too

This eliminates a problem with our test case: if the build takes less
than 1s the files were probably copied more recently than the 1s ago,
resulting in too much rebuilding (and possibly missing
failed-to-rebuild bugs).

We can now change the timestamp for the build tree to something
earlier.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/example/check