diff options
author | DRC <dcommander@users.sourceforge.net> | 2010-02-19 06:56:03 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2010-02-19 06:56:03 +0000 |
commit | 10d15cbe44291bc39908dd570b081aa3fcbfe980 (patch) | |
tree | ac3d3e02a94a8e706e132554726766362b9dc917 /win | |
parent | 0fd8be5d0c4315b56aae987108324dbca479ecc6 (diff) | |
download | libjpeg-turbo-10d15cbe44291bc39908dd570b081aa3fcbfe980.tar.gz |
Improve unit tests
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@127 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'win')
-rwxr-xr-x | win/Makefile | 36 |
1 files changed, 21 insertions, 15 deletions
diff --git a/win/Makefile b/win/Makefile index d33a934e..35a16f51 100755 --- a/win/Makefile +++ b/win/Makefile @@ -231,21 +231,27 @@ dist: all makensis /nocd /DVERSION=$(VERSION) release/libjpeg-turbo.nsi # Cygwin doesn't like the // -test: testclean $(ODIR)/cjpeg.exe $(ODIR)/djpeg.exe $(ODIR)/jpegtran.exe - cd $(ODIR) - jpegut - djpeg -dct int -ppm -outfile testout.ppm testorig.jpg - djpeg -dct int -bmp -colors 256 -outfile testout.bmp testorig.jpg - cjpeg -dct int -outfile testout.jpg testimg.ppm - djpeg -dct int -ppm -outfile testoutp.ppm testprog.jpg - cjpeg -dct int -progressive -opt -outfile testoutp.jpg testimg.ppm - jpegtran -outfile testoutt.jpg testprog.jpg - cmp testimg.ppm testout.ppm - cmp testimg.bmp testout.bmp - cmp testimg.jpg testout.jpg - cmp testimg.ppm testoutp.ppm - cmp testimgp.jpg testoutp.jpg - cmp testorig.jpg testoutt.jpg +test: testclean $(ODIR)/cjpeg.exe $(ODIR)/djpeg.exe $(ODIR)/jpegtran.exe \ + $(ODIR)/jpegut.exe + cd $(ODIR); ./jpegut + $(ODIR)/cjpeg -dct int -outfile $(ODIR)/testoutint.jpg testorig.ppm + $(ODIR)/cjpeg -dct fast -opt -outfile $(ODIR)/testoutfst.jpg testorig.ppm + $(ODIR)/cjpeg -dct float -outfile $(ODIR)/testoutflt.jpg testorig.ppm + cmp testimgint.jpg $(ODIR)/testoutint.jpg + cmp testimgfst.jpg $(ODIR)/testoutfst.jpg + cmp testimgflt.jpg $(ODIR)/testoutflt.jpg + $(ODIR)/djpeg -dct int -fast -ppm -outfile $(ODIR)/testoutint.ppm testorig.jpg + $(ODIR)/djpeg -dct fast -ppm -outfile $(ODIR)/testoutfst.ppm testorig.jpg + $(ODIR)/djpeg -dct float -ppm -outfile $(ODIR)/testoutflt.ppm testorig.jpg + cmp testimgint.ppm $(ODIR)/testoutint.ppm + cmp testimgfst.ppm $(ODIR)/testoutfst.ppm + cmp testorig.ppm $(ODIR)/testoutflt.ppm + $(ODIR)/djpeg -dct int -bmp -colors 256 -outfile $(ODIR)/testout.bmp testorig.jpg + cmp testimg.bmp $(ODIR)/testout.bmp + $(ODIR)/cjpeg -dct int -progressive -outfile $(ODIR)/testoutp.jpg testorig.ppm + cmp testimgp.jpg $(ODIR)/testoutp.jpg + $(ODIR)/jpegtran -outfile $(ODIR)/testoutt.jpg $(ODIR)/testoutp.jpg + cmp testimgint.jpg $(ODIR)/testoutt.jpg testclean: $(RM) $(ODIR)/testout* |