| 118 | } |
| 119 | |
| 120 | static bool MakeRunDirectory( IO::Filename & rundir, const char * batchdir ) |
| 121 | { |
| 122 | // Find an unused directory |
| 123 | for( u32 run_id = 0; run_id < 100; ++run_id ) |
| 124 | { |
| 125 | SprintRunDirectory( rundir, batchdir, run_id ); |
| 126 | |
| 127 | // Skip if it already exists as a file or directory |
| 128 | if( IO::Directory::Create( rundir ) ) |
| 129 | return true; |
| 130 | } |
| 131 | |
| 132 | return false; |
| 133 | } |
| 134 | |
| 135 | void BatchTestMain( int argc, char* argv[] ) |
| 136 | { |
no test coverage detected