From 72fd84f87292e50231544f885657a53193f3c5ec Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 24 Apr 2014 23:54:33 -0700 Subject: [PATCH] write test output to tmp --- .gitignore | 1 + tests/python_tests/postgis_test.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 3a3a81a1c..40e4585b5 100644 --- a/.gitignore +++ b/.gitignore @@ -24,6 +24,7 @@ utils/shapeindex/shapeindex utils/ogrindex/ogrindex utils/pgsql2sqlite/pgsql2sqlite utils/svg2png/svg2png +utils/nik2img/nik2img demo/python/demo* demo/python/map.xml tests/cpp_tests/svg_renderer_tests/background_color_test diff --git a/tests/python_tests/postgis_test.py b/tests/python_tests/postgis_test.py index a0120d897..568b0f128 100644 --- a/tests/python_tests/postgis_test.py +++ b/tests/python_tests/postgis_test.py @@ -778,13 +778,13 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \ # We expect this to trigger a PSQL error try: - mapnik.render_to_file(map1,'world.png', 'png') + mapnik.render_to_file(map1,'/tmp/mapnik-postgis-test-map1.png', 'png') # Test must fail if error was not raised just above eq_(False,True) except RuntimeError: pass # This used to raise an exception before correction of issue 2042 - mapnik.render_to_file(map2,'world2.png', 'png') + mapnik.render_to_file(map2,'/tmp/mapnik-postgis-test-map2.png', 'png') def test_handling_of_zm_dimensions(): ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,