quiet use of mapnik-test-data

This commit is contained in:
Dane Springmeyer 2014-10-20 22:43:17 -07:00
parent 18183aed2a
commit 27c959b1bf
2 changed files with 4 additions and 4 deletions

View file

@ -45,7 +45,7 @@ script:
- ./configure CXX="${CXX}" CC="${CC}" CUSTOM_CXXFLAGS="${CUSTOM_CXXFLAGS}" CUSTOM_LDFLAGS="${CUSTOM_LDFLAGS}" XML_PARSER="${XML_PARSER}" ENABLE_LOG="${ENABLE_LOG}" DEBUG="${DEBUG}" DEMO="${DEMO}" BENCHMARK="${BENCHMARK}" CPP_TESTS=True CAIRO=True FAST=True || cat config.log
- if [[ "${DEBUG}" == True ]]; then export JOBS=$((JOBS/2)); fi;
- make
- git clone https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
- git clone --depth=1 https://github.com/mapbox/mapnik-test-data tests/data/mapnik-test-data
- make test
- source localize.sh && make grind
- if [[ ${BENCHMARK} != False ]]; then make bench; fi;

View file

@ -36,7 +36,7 @@ def test_opening_data():
for filepath in files:
ext = os.path.splitext(filepath)[1]
if plugin_mapping.get(ext):
print 'testing opening %s' % filepath
#print 'testing opening %s' % filepath
if 'topo' in filepath:
kwargs = {'type': 'ogr','file': filepath}
kwargs['layer_by_index'] = 0
@ -53,8 +53,8 @@ def test_opening_data():
ds = mapnik.Datasource(**kwargs)
except Exception, e:
print 'could not open, %s: %s' % (kwargs,e)
else:
print 'skipping opening %s' % filepath
#else:
# print 'skipping opening %s' % filepath
if __name__ == "__main__":
setup()