Skip to content
Permalink
Browse files

[GRASS] fixed test

  • Loading branch information
blazek committed Sep 2, 2015
1 parent ce1f657 commit cc1888255b9a176844479797cfec638c048b1edf
Showing with 3 additions and 0 deletions.
  1. +3 −0 tests/src/providers/grass/testqgsgrassprovider.cpp
@@ -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 )
@@ -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++ )

0 comments on commit cc18882

Please sign in to comment.
You can’t perform that action at this time.