[mapserver-dev] Re: msautotest
Lime, Steve D (DNR)
Steve.Lime at state.mn.us
Fri Mar 18 13:12:44 EDT 2011
Yup, ./run_test.py query.map passes...
From: Alan Boudreault [aboudreault at mapgears.com]
Sent: Friday, March 18, 2011 12:03 PM
To: mapserver-dev at lists.osgeo.org
Cc: Lime, Steve D (DNR); Jim Klassen
Subject: Re: [mapserver-dev] Re: msautotest
I just committed the lexer fix. Things should be properly read now.
On March 18, 2011 12:00:48 pm Lime, Steve D (DNR) wrote:
> Don't think so. All the msautotest/query tests fail to and they ran fine
> mid-day yesterday. Sounds to me like the output format handling wrt
> templates is foobar...
> From: Jim Klassen [klassen.js at gmail.com]
> Sent: Friday, March 18, 2011 10:38 AM
> To: Lime, Steve D (DNR)
> Cc: MapServer Dev Mailing List
> Subject: Re: [mapserver-dev] Re: msautotest
> Then there must be something wrong with how ./run_test.py is running
> $ cat result/rfc36_geojson.js
> Content-type: geojson
> Content-type: text/html
> <HEAD><TITLE>MapServer Message</TITLE></HEAD>
> <!-- MapServer version 6.0.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV
> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER
> SUPPORTS=THREADS SUPPORTS=GEOS SUPPORTS=POINT_Z_M INPUT=POSTGIS INPUT=OGR
> INPUT=GDAL INPUT=SHAPEFILE --> <BODY BGCOLOR="#FFFFFF">
> msReturnPage(): Web application error. Malformed template name (dummy).
> On Mar 18, 2011, at 11:15 AM, Lime, Steve D (DNR) wrote:
> > Issue 1 is not true. If you're using output formats then you don't need a
> > valid file since you're using the file specified in the output format.
> > If you're not using an output format then obviously the template does
> > need to exist and be valid. However since the tests are all using output
> > formats TEMPLATE 'dummy' is perfectly valid. Issue 2 is not relevant to
> > the testing...
> > This is related to the default output formats somehow...
> > Steve
> > ________________________________________
> > From: mapserver-dev-bounces at lists.osgeo.org
> > [mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Jim Klassen
> > [klassen.js at gmail.com] Sent: Friday, March 18, 2011 10:11 AM
> > To: Lime, Steve D (DNR)
> > Cc: MapServer Dev Mailing List
> > Subject: [mapserver-dev] Re: msautotest
> > I see two issues so far...
> > 1) The file specified in TEMPLATE needs to exist and have a valid magic
> > string (even though it should be using the OUTPUTFORMAT template and not
> > the Header/Template/Footer style.)
> > 2) The Content-type header sent for
> > msautotest/misc/result/rfc36_geojson.js is incorrect (geojson not
> > application/json; subtype=geojson)
> > On Mar 18, 2011, at 10:56 AM, Lime, Steve D (DNR) wrote:
> >> You have to have a TEMPLATE for something to be queryable. Something is
> >> definitely wrong (most tests in msautotest/query also fail) and
> >> probably related to the default output format changes. Can someone
> >> summarize those?
> >> Steve
> >> ________________________________________
> >> From: Jim Klassen [klassen.js at gmail.com]
> >> Sent: Friday, March 18, 2011 9:53 AM
> >> To: MapServer Dev Mailing List
> >> Cc: Lime, Steve D (DNR)
> >> Subject: msautotest
> >> We're going through msautotest at the sprint and running into a problem
> >> with templates...
> >> In msautotest/misc/rfc36.map it looks like it is needs TEMPLATE 'dummy'
> >> but this doesn't appear to be allowed anymore?
> >> Jim K
> > _______________________________________________
> > mapserver-dev mailing list
> > mapserver-dev at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapserver-dev
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
More information about the mapserver-dev