Skip to content

Commit 81b34e2

Browse files
committed
SerialIOTest: Cleanup ADIOS1/2
Just be more wide in what we cover by explictly excluding ADIOS1.
1 parent 9fa1f84 commit 81b34e2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/SerialIOTest.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4154,8 +4154,9 @@ iterate_nonstreaming_series(
41544154
Series writeSeries( file, Access::CREATE );
41554155
if( variableBasedLayout )
41564156
{
4157-
if( writeSeries.backend() != "ADIOS2" )
4157+
if( writeSeries.backend() == "ADIOS1" )
41584158
{
4159+
// unsupported in ADIOS1
41594160
return;
41604161
}
41614162
writeSeries.setIterationEncoding(
@@ -4282,7 +4283,7 @@ extendDataset( std::string const & ext )
42824283
std::iota( data2.begin(), data2.end(), 25 );
42834284
{
42844285
Series write( filename, Access::CREATE );
4285-
if( ext == "bp" && write.backend() != "ADIOS2" )
4286+
if( ext == "bp" && write.backend() == "ADIOS1" )
42864287
{
42874288
// dataset resizing unsupported in ADIOS1
42884289
return;

0 commit comments

Comments
 (0)