Adjust precision of filesystem::last_write_time tests
authorJonathan Wakely <jwakely@redhat.com>
Thu, 27 Oct 2016 11:01:49 +0000 (12:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 27 Oct 2016 11:01:49 +0000 (12:01 +0100)
commit69af1c04e077e1a8f9d561368fc5ee972e0685e9
tree474b0e2e01577f0f7561f031c8a5c3df0423ec89
parentddb92ab95f6ba681423ba55db9910821735544c1
Adjust precision of filesystem::last_write_time tests

* testsuite/experimental/filesystem/iterators/directory_iterator.cc:
Use end() function to get end iterator.
* testsuite/experimental/filesystem/iterators/pop.cc: Remove printf
statements that were present for debugging.
* testsuite/experimental/filesystem/iterators/
recursive_directory_iterator.cc: Use end() function to get end
iterator.
* testsuite/experimental/filesystem/operations/last_write_time.cc:
Only require file timestamps to be accurate to one second.

From-SVN: r241616
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/experimental/filesystem/iterators/directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/pop.cc
libstdc++-v3/testsuite/experimental/filesystem/iterators/recursive_directory_iterator.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/last_write_time.cc