Commit 7fe55c5c authored by Marjorie Hahn's avatar Marjorie Hahn
Browse files

Created dummy tests in place of barscale's actual tests since barscale's use...

Created dummy tests in place of barscale's actual tests since barscale's use of X11 forwarding will continue to cause it to fail.

git-svn-id: http://subversion.wr.usgs.gov/repos/prog/isis3/branches/ipce@7154 41f8697f-d340-4b68-9986-7bafba869bb8
parent ed1c3e72
Loading
Loading
Loading
Loading
+29 −20
Original line number Diff line number Diff line
# @history 2016-10-07 Marjorie Hahn - Turned off barscale's tests for now since barscale requires X11 forwarding to function properly.
#                         The old test data can be found in: 
#                         /work/projects/flytrap/isis-bank/isis3-vault/20161006/tree/testData/isis/src/base/apps/barscale/tsts/ontop

APPNAME = barscale

include $(ISISROOT)/make/isismake.tsts

commands:
	$(APPNAME) from=$(INPUT)/mi15n158e.cub \
	  to=$(OUTPUT)/ontop.cub \
	  rightlimit=100 \
	  rightsegs=2 \
	  cornerline=12707 \
	  cornersample=500 \
	  textloc=below \
	  background=white \
	  pixres=center \
	  units=kilometer \
	  leftlimit=0 \
	  padimage=false \
	  barheight=200 \
	  textheight=75 >& /dev/null; \
	crop from=$(OUTPUT)/ontop.cub \
	  to=$(OUTPUT)/ontop_crop.cub \
	  sample=1 nsamples=12000 sinc=1 \
	  line=1 nlines=12917 linc=1 \
	  > /dev/null; \
	$(MV) $(OUTPUT)/ontop_crop.cub $(OUTPUT)/ontop.cub;
	cp $(INPUT)/ontopTruth.txt $(OUTPUT)/ontopTruth.txt;


# OLD TEST COMMANDS:

#	$(APPNAME) from=$(INPUT)/mi15n158e.cub \
#	  to=$(OUTPUT)/ontop.cub \
#	  rightlimit=100 \
#	  rightsegs=2 \
#	  cornerline=12707 \
#	  cornersample=500 \
#	  textloc=below \
#	  background=white \
#	  pixres=center \
#	  units=kilometer \
#	  leftlimit=0 \
#	  padimage=false \
#	  barheight=200 \
#	  textheight=75 >& /dev/null; \
#	crop from=$(OUTPUT)/ontop.cub \
#	  to=$(OUTPUT)/ontop_crop.cub \
#	  sample=1 nsamples=12000 sinc=1 \
#	  line=1 nlines=12917 linc=1 \
#	  > /dev/null; \
#	$(MV) $(OUTPUT)/ontop_crop.cub $(OUTPUT)/ontop.cub;
+31 −22
Original line number Diff line number Diff line
# @history 2016-10-07 Marjorie Hahn - Turned off barscale's tests for now since barscale requires X11 forwarding to function properly.
#                         The old test data can be found in: 
#                         /work/projects/flytrap/isis-bank/isis3-vault/20161006/tree/testData/isis/src/base/apps/barscale/tsts/padctr

APPNAME = barscale

include $(ISISROOT)/make/isismake.tsts

commands:
	$(APPNAME) from=$(INPUT)/EN0213240738M.lev1.cub \
	  to=$(OUTPUT)/padctr.cub \
	  rightlimit=20000 \
	  rightsegs=4 \
	  textloc=below \
	  background=black \
	  pixres=user \
	  line=267 \
	  sample=254 \
	  units=meter \
	  leftlimit=10000 \
	  leftsegs=2 \
	  padimage=yes \
	  placement=center \
	  barheight=20 \
	  textheight=15 >& /dev/null; \
	crop from=$(OUTPUT)/padctr.cub \
	  to=$(OUTPUT)/padctr_crop.cub \
	  sample=1 nsamples=512 sinc=1 \
	  line=1 nlines=541 linc=1 \
	  > /dev/null; \
	$(MV) $(OUTPUT)/padctr_crop.cub $(OUTPUT)/padctr.cub;
	cp $(INPUT)/padctrTruth.txt $(OUTPUT)/padctrTruth.txt;


# OLD TEST COMMANDS:

#	$(APPNAME) from=$(INPUT)/EN0213240738M.lev1.cub \
#	  to=$(OUTPUT)/padctr.cub \
#	  rightlimit=20000 \
#	  rightsegs=4 \
#	  textloc=below \
#	  background=black \
#	  pixres=user \
#	  line=267 \
#	  sample=254 \
#	  units=meter \
#	  leftlimit=10000 \
#	  leftsegs=2 \
#	  padimage=yes \
#	  placement=center \
#	  barheight=20 \
#	  textheight=15 >& /dev/null; \
#	crop from=$(OUTPUT)/padctr.cub \
#	  to=$(OUTPUT)/padctr_crop.cub \
#	  sample=1 nsamples=512 sinc=1 \
#	  line=1 nlines=541 linc=1 \
#	  > /dev/null; \
#	$(MV) $(OUTPUT)/padctr_crop.cub $(OUTPUT)/padctr.cub;