File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
tests/src/providers/grass Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -231,6 +231,8 @@ void TestQgsGrassProvider::mapsets()
231
231
reportRow ( " mapsets: " + mapsets.join ( " , " ) );
232
232
compare ( expectedMapsets, mapsets, ok );
233
233
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
234
236
foreach ( QString expectedMapset, expectedMapsets )
235
237
{
236
238
if ( G_is_mapset_in_search_path( expectedMapset.toAscii().data() ) != 1 )
@@ -239,6 +241,7 @@ void TestQgsGrassProvider::mapsets()
239
241
ok = false;
240
242
}
241
243
}
244
+ #endif
242
245
243
246
// open/close mapset try twice to be sure that lock was not left etc.
244
247
for ( int i = 1 ; i < 3 ; i++ )
You can’t perform that action at this time.
0 commit comments