Skip to content

Commit

Permalink
[GRASS] fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Sep 2, 2015
1 parent ce1f657 commit cc18882
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/providers/grass/testqgsgrassprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ void TestQgsGrassProvider::mapsets()
reportRow( "mapsets: " + mapsets.join( ", " ) );
compare( expectedMapsets, mapsets, ok );
QgsGrass::setLocation( mGisdbase, mLocation ); // for G_is_mapset_in_search_path
// Disabled because adding of all mapsets to search path was disabled in setLocation()
#if 0
foreach ( QString expectedMapset, expectedMapsets )
{
if ( G_is_mapset_in_search_path( expectedMapset.toAscii().data() ) != 1 )
Expand All @@ -239,6 +241,7 @@ void TestQgsGrassProvider::mapsets()
ok = false;
}
}
#endif

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

0 comments on commit cc18882

Please sign in to comment.