Commit dd0038b9 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

finished tests

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1848
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 88feae57
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.28 2005-07-11 14:29:34 tforb Exp $
# $Id: Makefile,v 1.29 2005-07-11 17:14:56 tforb Exp $
#
# Copyright (c) 2005 by Thomas Forbriger (BFO Schiltach)
#
......@@ -95,23 +95,33 @@ RVAL=0.
#----------------------------------------------------------------------
# test tidofi against stufi
sig.xxx.sff: ;siggen 13 $@
sig.xxx.sff: ;siggen 6 $@ -Tm 0.2 -Te 1.
tid.t.xxx.fil tid.s.xxx.fil: ; echo -e "DBG 0\ntid 270\nend" > $@
lpb.t.xxx.fil lpb.s.xxx.fil: ; echo -e "DBG 0\nlpb 0.05,5\nend" > $@
hpb.t.xxx.fil hpb.s.xxx.fil: ; echo -e "DBG 0\nhpb 0.05,5\nend" > $@
lp2.t.xxx.fil lp2.s.xxx.fil: ; echo -e "DBG 0\nlp2 0.2,0.707\nend" > $@
hp2.t.xxx.fil hp2.s.xxx.fil: ; echo -e "DBG 0\nhp2 0.2,0.707\nend" > $@
bp2.t.xxx.fil bp2.s.xxx.fil: ; echo -e "DBG 0\nbp2 0.2,0.707\nend" > $@
he2.t.xxx.fil he2.s.xxx.fil: ; echo -e "DBG 0\nhe2 0.2,0.707,1.,0.1\nend" > $@
le2.t.xxx.fil le2.s.xxx.fil: ; echo -e "DBG 0\nle2 0.2,0.707,.01,0.1\nend" > $@
he1.t.xxx.fil he1.s.xxx.fil: ; echo -e "DBG 0\nhe1 0.2,1.,0.1\nend" > $@
le1.t.xxx.fil le1.s.xxx.fil: ; echo -e "DBG 0\nle1 0.2,.01,0.1\nend" > $@
lp1.t.xxx.fil lp1.s.xxx.fil: ; echo -e "DBG 0\nlp1 0.2\nend" > $@
hp1.t.xxx.fil hp1.s.xxx.fil: ; echo -e "DBG 0\nhp1 0.2\nend" > $@
fac.t.xxx.fil fac.s.xxx.fil: ; echo -e "DBG 0\nfac 10.\nend" > $@
add.t.xxx.fil add.s.xxx.fil: ; echo -e "DBG 0\nadd 10.\nend" > $@
rev.t.xxx.fil rev.s.xxx.fil: ; echo -e "DBG 0\nrev 0\nend" > $@
dif.t.xxx.fil dif.s.xxx.fil: ; echo -e "DBG 0\ndif 0\nend" > $@
int.t.xxx.fil int.s.xxx.fil: ; echo -e "DBG 0\nint 0\nend" > $@
avg.t.xxx.fil avg.s.xxx.fil: ; echo -e "DBG 0\navg 0\nend" > $@
tre.t.xxx.fil tre.s.xxx.fil: ; echo -e "DBG 0\ntre 0\nend" > $@
fac.t.xxx.fil fac.s.xxx.fil: ; echo -e "DBG 0\nfac -10.\nend" > $@
add.t.xxx.fil add.s.xxx.fil: ; echo -e "DBG 0\nadd -1.e2\nend" > $@
rev.t.xxx.fil rev.s.xxx.fil: ; echo -e "DBG 0\nrev 200\nend" > $@
dif.t.xxx.fil dif.s.xxx.fil: ; echo -e "DBG 0\ndif 0.01\nend" > $@
int.t.xxx.fil int.s.xxx.fil: ; echo -e "DBG 0\nint .1\nend" > $@
avg.t.xxx.fil avg.s.xxx.fil: ; echo -e "DBG 0\navg 30\nend" > $@
tre.t.xxx.fil tre.s.xxx.fil: ; echo -e "DBG 0\ntre 100\nend" > $@
han.t.xxx.fil: ; echo -e "DBG 0\nhan 0\nend" > $@
han.s.xxx.fil: ; echo -e "DBG 0\nsis 1,2000000\nend" > $@
first.t.xxx.fil: ; echo -e "DBG 0\nfirst 0\nend" > $@
first.s.xxx.fil: ; echo -e "DBG 0\navg 1\nend" > $@
fbl.t.xxx.fil: ; echo -e "DBG 0\nfbl 0,00,600\nend" > $@
fbl.s.xxx.fil: ; echo -e "DBG 0\nfbl 200,20,600\nend" > $@
%.xxx.rules: Makefile
( echo "%.$(patsubst %.xxx.rules,%,$@).s.xxx.sff:" \
......@@ -123,9 +133,17 @@ han.s.xxx.fil: ; echo -e "DBG 0\nsis 1,2000000\nend" > $@
" %.xxx.sff $(patsubst %.xxx.rules,%,$@).t.xxx.fil"; \
echo -e '\ttidofi -cf $$(word 2,$$^)' \
'-v -o $$@ $$< ' \
'>$$(patsubst %.sff,%.out,$$@) 2>&1' ) > $@
FILTERS=lp2 hp2 lp1 hp1 fac add rev dif int avg tre hpb lpb han
'>$$(patsubst %.sff,%.out,$$@) 2>&1'; \
echo "%.$(patsubst %.xxx.rules,%,$@).t.xxx.fil:" \
" $(patsubst %.xxx.rules,%,$@).t.xxx.fil" \
'; /bin/ln -sfv $$< $$@'; \
echo "%.$(patsubst %.xxx.rules,%,$@).s.xxx.fil:" \
" $(patsubst %.xxx.rules,%,$@).s.xxx.fil" \
'; /bin/ln -sfv $$< $$@'; \
) > $@
FILTERS=lp2 hp2 lp1 hp1 fac add rev dif int avg tre hpb lpb han bp2 he2 le2 \
he1 le1 tid first fbl
include $(addsuffix .xxx.rules,$(FILTERS))
REF=sig.xxx.sff
......@@ -133,7 +151,22 @@ cmp.%.ps: %.s.xxx.sff %.t.xxx.sff $(REF)
stuplo -d $@/cps -C -t -s x -i -c fT -l 3,2,1 -h 1.,1.2,1.4,1.2 \
-Y 0.8 -V -X "Zeit (s)" \
$(word 1,$^) nc: $(word 2,$^) nc: $(word 3,$^) $^
control.%.xxx.out: %.s.xxx.sff %.t.xxx.sff %.s.xxx.fil %.t.xxx.fil
tail -999 $(patsubst %.sff,%.out,$^) > $@
control.%.ps: control.%.xxx.out
cat $< \
| a2ps -A virtual -o $@ -1 -r -l 100 \
--center-title="Control files for $(patsubst control.%,cmp.%,$@)"
report.%.ps: cmp.%.rw.ps control.%.ps
a2ps -A virtual -o $@ -1 $^
%.psp: %.ps; gv $<; /bin/rm -fv $<
%.pdf: %.ps; ps2pdf $<
%.rw.ps: %.ps; gs -sDEVICE=pswrite -dNOPAUSE -dBATCH -sOutputFile=$@ $<
%.fix.ps: %.ps; fixps $< > $@
%.2up.ps: %.ps; psnup -r -l -2 -Pa4 -pa4 $< > $@
%.rs.ps: %.ps; psresize -Pa4 -pa5 $< > $@
%.pngp: %.png; xv $<; /bin/rm -fv $<
# ----- END OF Makefile -----
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment