diff options
author | Daniel Moody <dmoody256@gmail.com> | 2022-05-12 04:50:08 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2022-05-12 04:50:08 (GMT) |
commit | 0d5763f5abc90adac128050a79b521b8e0b5d6a3 (patch) | |
tree | 6e16dd87614232281b78165b43ade902810a65b0 /test/Dir/source.py | |
parent | 31e53ca45e062824ba1537c66c37e30a3ed6db56 (diff) | |
download | SCons-0d5763f5abc90adac128050a79b521b8e0b5d6a3.zip SCons-0d5763f5abc90adac128050a79b521b8e0b5d6a3.tar.gz SCons-0d5763f5abc90adac128050a79b521b8e0b5d6a3.tar.bz2 |
Add some time in Dir/source.py test because of filesystem precision.
Diffstat (limited to 'test/Dir/source.py')
-rw-r--r-- | test/Dir/source.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Dir/source.py b/test/Dir/source.py index f38b07d..9104db0 100644 --- a/test/Dir/source.py +++ b/test/Dir/source.py @@ -22,6 +22,7 @@ # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +import time """ This test tests directories as source files. The correct behavior is that @@ -106,6 +107,8 @@ test.up_to_date(arguments='cmd-content.out') test.up_to_date(arguments='cmd-tstamp-noscan.out') test.up_to_date(arguments='cmd-content-noscan.out') +time.sleep(2) + test.write([ 'tstamp', 'foo.txt' ], 'foo.txt 2\n') test.not_up_to_date(arguments='tstamp.out') |