[mapserver-dev] msautotest - STRIP directive
Frank Warmerdam
warmerdam at pobox.com
Sun Mar 20 16:51:14 EDT 2011
Folks,
I was having problems with Steve's new msautotest/misc/runtime_sub.map
tests. The error reports included an absolute path to the files and this
varied depending on where things were run in different peoples trees. I
have implemented a new directive for postprocessing the output file making
it possible to strip specific text lines - those containing a particular
substring.
For example:
# RUN_PARMS: runtime_sub_test001.txt [MAPSERV]
QUERY_STRING='map=[MAPFILE]&mode=map&layer=layer1&name1=bdry_counpy2' >
[RESULT_DEVERSION] [STRIP:ShapefileOpen]
This may be useful for other tests we have in the past avoided because
it was hard to make them work smoothly in different environments. I have
also updated the regression testing document accordingly.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the mapserver-dev
mailing list