[filesystem] SVN doesn't like files created by filesystem tests.

Hello, when running the filesystem tests on Tru64, some files and directories with unicode characters in their name are created in the current directory. When running svn up in such a directory, it fails with the following error message: boost-trunk/libs/filesystem/test> svn up svn: Non-ASCII character (code 226) detected, and unable to convert to/from UTF-8 When running boost regression tests, these files are normally created in the status directory, and currently this prevents incremental testing because svn aborts when it finds these files. Is anybody else seeing this? Could these files perhaps be moved outside of the source tree? Or perhaps not generated at all, because so far I haven't figured out how to get rid of them, short of removing the whole directory containing these files. Markus

Markus Schöpflin wrote:
Hello,
when running the filesystem tests on Tru64, some files and directories with unicode characters in their name are created in the current directory. When running svn up in such a directory, it fails with the following error message:
boost-trunk/libs/filesystem/test> svn up svn: Non-ASCII character (code 226) detected, and unable to convert to/from UTF-8
When running boost regression tests, these files are normally created in the status directory, and currently this prevents incremental testing because svn aborts when it finds these files.
Is anybody else seeing this? Could these files perhaps be moved outside of the source tree? Or perhaps not generated at all, because so far I haven't figured out how to get rid of them, short of removing the whole directory containing these files.
The test that is creating those file is wide_test. I'll change it to clean up after itself; that's been something I've been meaning to do for a long time anyhow. If that doesn't work, we'll figure out a way alter the test on that platform. Thanks, --Beman

Beman Dawes wrote:
Markus Schöpflin wrote:
Hello,
when running the filesystem tests on Tru64, some files and directories with unicode characters in their name are created in the current directory. When running svn up in such a directory, it fails with the following error message:
boost-trunk/libs/filesystem/test> svn up svn: Non-ASCII character (code 226) detected, and unable to convert to/from UTF-8
When running boost regression tests, these files are normally created in the status directory, and currently this prevents incremental testing because svn aborts when it finds these files.
Is anybody else seeing this? Could these files perhaps be moved outside of the source tree? Or perhaps not generated at all, because so far I haven't figured out how to get rid of them, short of removing the whole directory containing these files.
The test that is creating those file is wide_test. I'll change it to clean up after itself; that's been something I've been meaning to do for a long time anyhow.
OK, done. fstream_test also had to be changed. Ping me if that doesn't solve your problem. --Beman

Beman Dawes wrote:
OK, done. fstream_test also had to be changed. Ping me if that doesn't solve your problem.
I just checked, svn no longer complains after running the filesystem tests. The only leftover from the tests now is the xx directory, created by convenience_test. Thanks, Markus

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Markus Schöpflin Sent: Wednesday, September 19, 2007 1:02 AM To: boost@lists.boost.org Subject: Re: [boost] [filesystem] SVN doesn't like files created byfilesystem tests.
Beman Dawes wrote:
OK, done. fstream_test also had to be changed. Ping me if that doesn't solve your problem.
I just checked, svn no longer complains after running the filesystem tests. The only leftover from the tests now is the xx directory, created by convenience_test.
Thanks, Markus
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Markus Schöpflin Sent: Wednesday, September 19, 2007 1:02 AM To: boost@lists.boost.org Subject: Re: [boost] [filesystem] SVN doesn't like files created byfilesystem tests.
Beman Dawes wrote:
OK, done. fstream_test also had to be changed. Ping me if that doesn't solve your problem.
I just checked, svn no longer complains after running the filesystem tests. The only leftover from the tests now is the xx directory, created by convenience_test.
Thanks, Markus
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Hey, I don't know the boost process, but are you guys putting these things into the head branch yet? I just fixed what may be a related problem locally in my working copy (checked out a only a few hours ago). Basically the template functions were taking parameters of Path&, which would sometimes force the template parameter Path to be a const type, and in turn make some other data-types not default-constructible. What is the policy here: should I send a svn patch? Can I send attachments to the list? Index: operations.hpp =================================================================== @@ -225,7 +225,7 @@ # endif template<class Path> - unsigned long remove_all_aux( Path & ph ); + unsigned long remove_all_aux( const Path & ph ); } // namespace detail @@ -739,7 +739,7 @@ namespace detail { template<class Path> - unsigned long remove_all_aux( Path & ph ) + unsigned long remove_all_aux( const Path & ph ) { static const boost::filesystem::basic_directory_iterator<Path> end_itr; unsigned long count = 1;

John Femiani wrote:
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Markus Schöpflin Sent: Wednesday, September 19, 2007 1:02 AM To: boost@lists.boost.org Subject: Re: [boost] [filesystem] SVN doesn't like files created byfilesystem tests.
Beman Dawes wrote:
OK, done. fstream_test also had to be changed. Ping me if that doesn't solve your problem. I just checked, svn no longer complains after running the filesystem tests. The only leftover from the tests now is the xx directory, created by convenience_test.
Thanks, Markus
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Hey,
I don't know the boost process, but are you guys putting these things into the head branch yet?
Yep. These changes are in trunk HEAD. Major reworks would have happened on a branch.
I just fixed what may be a related problem locally in my working copy (checked out a only a few hours ago).
Basically the template functions were taking parameters of Path&, which would sometimes force the template parameter Path to be a const type, and in turn make some other data-types not default-constructible.
You were unlucky. Noel Belcourt mistakenly removed that "const" yesterday. He realized it was a problem, and reverted less than three hours later, but you happened to do a checkout during that time.
What is the policy here: should I send a svn patch? Can I send attachments to the list?
Yes and yes. Please put the library name in brackets at the start of the subject line so that the right developer sees your message. Thanks, --Beman
participants (3)
-
Beman Dawes
-
John Femiani
-
Markus Schöpflin