diff options
author | Ralph Giles <ralph.giles@artifex.com> | 2006-10-10 21:54:55 +0000 |
---|---|---|
committer | Ralph Giles <ralph.giles@artifex.com> | 2006-10-10 21:54:55 +0000 |
commit | 92210a40ef61778f038bc1d6451b2e935a21319c (patch) | |
tree | 60fceec7c4266405d985126e9ef0325dbf1b17dc /Makefile | |
parent | 6c9f4db902878f8f1486e3f5cb41b8a065f17c13 (diff) |
Add a simple 'smoke test' script for checking the language switch build.
If you have the pcl test suite in a directory 'tests' on the same level as
the ghostpcl source tree, you can run 'make check' (from the ghostpcl directory)
to invoke the script. It will run a selection of files through the local
build of pspcl6 and compare checksums against a baseline included with
this commit.
On my machine, the check takes about a minute and the current revision
shows 25 rendering differences compared to a baseline of r2611+7094.
To update the baseline, run './tools/smoke_update.sh'.
Caveats: The script can only be invoked from a particular directory.
It uses the md5sum of the ppmraw output, so if GS_PRODUCT changes
the checksums will no longer match. Updating the baseline will probably
fail if not run from an svn working copy. There is no support of updating
the baseline for only particular files.
git-svn-id: http://svn.ghostscript.com/ghostpcl/trunk/ghostpcl@2622 06663e23-700e-0410-b217-a244a6096597
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -54,6 +54,8 @@ ls_install: ls_test: cd tools; ../language_switch/obj/pspcl6 -dTextAlphaBits=4 owl.pcl tiger.px3 ../gs/examples/tiger.ps +check: + tools/smoke_check.sh # NB - this does not remove the fonts. blowing away /windows/fonts @@ -94,4 +96,4 @@ all_clean: clean uclean ls_uclean ls_clean make -C ufst/rts/lib -f makefile.artifex clean -.PHONY: clean test install product profile ls_clean ls_test ls_install ls_product ls_profile ls_udebug udebug ufst +.PHONY: clean test install product profile ls_clean ls_test ls_install ls_product ls_profile ls_udebug udebug ufst check |