浏览代码

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 年之前
父节点
当前提交
98599964d4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
                         add = True
                     else:
                     else:
                         try:
                         try:
-                            locations = ['nc']
+                            locations = ['nc', 'stdmaps', 'all']
                         except AttributeError:
                         except AttributeError:
                             add = True  # test is universal
                             add = True  # test is universal
                         else:
                         else: