Skip to content

Commit 9a1a175

Browse files
committed
tmp: printf debugging
1 parent d46ec2d commit 9a1a175

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/SerialIOTest.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4644,6 +4644,7 @@ void append_mode(
46444644
std::string filename = ( variableBased ? "../samples/append_variablebased."
46454645
: "../samples/append_groupbased." ) +
46464646
extension;
4647+
std::cout << "[APPEND MODE " << filename << "]: POINT 0" << std::endl;
46474648
std::vector< int > data( 10, 0 );
46484649
auto writeSomeIterations = [ &data ](
46494650
WriteIterations && writeIterations,
@@ -4671,6 +4672,7 @@ void append_mode(
46714672
writeSomeIterations(
46724673
write.writeIterations(), std::vector< uint64_t >{ 0, 1 } );
46734674
}
4675+
std::cout << "[APPEND MODE " << filename << "]: POINT 1" << std::endl;
46744676
{
46754677
Series write( filename, Access::APPEND, jsonConfig );
46764678
if( variableBased )
@@ -4689,6 +4691,7 @@ void append_mode(
46894691
write.writeIterations(), std::vector< uint64_t >{ 2, 3 } );
46904692
write.flush();
46914693
}
4694+
std::cout << "[APPEND MODE " << filename << "]: POINT 2" << std::endl;
46924695
{
46934696
Series write( filename, Access::APPEND, jsonConfig );
46944697
if( variableBased )
@@ -4707,6 +4710,7 @@ void append_mode(
47074710
write.writeIterations(), std::vector< uint64_t >{ 4, 3 } );
47084711
write.flush();
47094712
}
4713+
std::cout << "[APPEND MODE " << filename << "]: POINT 3" << std::endl;
47104714
{
47114715
Series read( filename, Access::READ_ONLY );
47124716
if( variableBased )
@@ -4734,6 +4738,7 @@ void append_mode(
47344738
*/
47354739
helper::listSeries( read );
47364740
}
4741+
std::cout << "[APPEND MODE " << filename << "]: POINT 4\n\n" << std::endl;
47374742
}
47384743

47394744
TEST_CASE( "append_mode", "[serial]" )

0 commit comments

Comments
 (0)