Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71121 - in trunk/libs/filesystem: v2/test v3/test
From: bdawes_at_[hidden]
Date: 2011-04-08 14:20:33


Author: bemandawes
Date: 2011-04-08 14:20:30 EDT (Fri, 08 Apr 2011)
New Revision: 71121
URL: http://svn.boost.org/trac/boost/changeset/71121

Log:
Distinguish between v2 and v3 test directory names to allow parallel testing without race conditions
Text files modified:
   trunk/libs/filesystem/v2/test/fstream_test.cpp | 4 ++--
   trunk/libs/filesystem/v2/test/operations_test.cpp | 2 +-
   trunk/libs/filesystem/v3/test/fstream_test.cpp | 2 +-
   trunk/libs/filesystem/v3/test/operations_test.cpp | 2 +-
   4 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/libs/filesystem/v2/test/fstream_test.cpp
==============================================================================
--- trunk/libs/filesystem/v2/test/fstream_test.cpp (original)
+++ trunk/libs/filesystem/v2/test/fstream_test.cpp 2011-04-08 14:20:30 EDT (Fri, 08 Apr 2011)
@@ -157,7 +157,7 @@
 
   // test fs::path
   std::cout << "path tests:\n";
- test( fs::path( "fstream_test_foo" ) );
+ test( fs::path( "v2_fstream_test" ) );
 
 #ifndef BOOST_FILESYSTEM2_NARROW_ONLY
 
@@ -170,7 +170,7 @@
   // x2780 is circled 1 against white background == e2 9e 80 in UTF-8
   // x2781 is circled 2 against white background == e2 9e 81 in UTF-8
   std::cout << "\nwpath tests:\n";
- test( fs::wpath( L"fstream_test_\x2780" ) );
+ test( fs::wpath( L"v2_fstream_test_\x2780" ) );
 
   // test user supplied basic_path
   const long lname[] = { 'f', 's', 'r', 'e', 'a', 'm', '_', 't', 'e', 's',

Modified: trunk/libs/filesystem/v2/test/operations_test.cpp
==============================================================================
--- trunk/libs/filesystem/v2/test/operations_test.cpp (original)
+++ trunk/libs/filesystem/v2/test/operations_test.cpp 2011-04-08 14:20:30 EDT (Fri, 08 Apr 2011)
@@ -74,7 +74,7 @@
 
   unsigned short language_id; // 0 except for Windows
 
- const char * temp_dir_name = "temp_fs_test_dir";
+ const char * temp_dir_name = "v2_operations_test";
 
   void create_file( const fs::path & ph, const std::string & contents )
   {

Modified: trunk/libs/filesystem/v3/test/fstream_test.cpp
==============================================================================
--- trunk/libs/filesystem/v3/test/fstream_test.cpp (original)
+++ trunk/libs/filesystem/v3/test/fstream_test.cpp 2011-04-08 14:20:30 EDT (Fri, 08 Apr 2011)
@@ -154,7 +154,7 @@
 
   // test narrow characters
   std::cout << "narrow character tests:\n";
- test("fstream_test_foo");
+ test("v3_fstream_test");
 
 
   // So that tests are run with known encoding, use Boost UTF-8 codecvt

Modified: trunk/libs/filesystem/v3/test/operations_test.cpp
==============================================================================
--- trunk/libs/filesystem/v3/test/operations_test.cpp (original)
+++ trunk/libs/filesystem/v3/test/operations_test.cpp 2011-04-08 14:20:30 EDT (Fri, 08 Apr 2011)
@@ -107,7 +107,7 @@
 
   unsigned short language_id; // 0 except for Windows
 
- const char* temp_dir_name = "temp_fs_test_dir";
+ const char* temp_dir_name = "v3_operations_test";
 
   void create_file(const fs::path & ph, const std::string & contents)
   {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk