Prechádzať zdrojové kódy

gunittest: workaround to support more location types (https://trac.osgeo.org/grass/changeset/61652 uses hardcoded values instead of parsing the file and finding suporated location type(s))

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62018 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 10 rokov pred
rodič
commit
98599964d4
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      lib/python/gunittest/loader.py

+ 1 - 1
lib/python/gunittest/loader.py

@@ -113,7 +113,7 @@ def discover_modules(start_dir, skip_dirs, testsuite_dir,
                         add = True
                     else:
                         try:
-                            locations = ['nc']
+                            locations = ['nc', 'stdmaps', 'all']
                         except AttributeError:
                             add = True  # test is universal
                         else: