Skip to content

Commit cc18882

Browse files
committedSep 2, 2015
[GRASS] fixed test
1 parent ce1f657 commit cc18882

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎tests/src/providers/grass/testqgsgrassprovider.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,8 @@ void TestQgsGrassProvider::mapsets()
231231
reportRow( "mapsets: " + mapsets.join( ", " ) );
232232
compare( expectedMapsets, mapsets, ok );
233233
QgsGrass::setLocation( mGisdbase, mLocation ); // for G_is_mapset_in_search_path
234+
// Disabled because adding of all mapsets to search path was disabled in setLocation()
235+
#if 0
234236
foreach ( QString expectedMapset, expectedMapsets )
235237
{
236238
if ( G_is_mapset_in_search_path( expectedMapset.toAscii().data() ) != 1 )
@@ -239,6 +241,7 @@ void TestQgsGrassProvider::mapsets()
239241
ok = false;
240242
}
241243
}
244+
#endif
242245

243246
// open/close mapset try twice to be sure that lock was not left etc.
244247
for ( int i = 1; i < 3; i++ )

0 commit comments

Comments
 (0)
Please sign in to comment.