Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the file adjustments so far #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/image/fits/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,13 @@ fitsccd: ccdfits

scanfits: ccdfits
@echo Running $@
$(EXEC) scanfits fits.in;
$(EXEC) scanfits fits.in ; nemo.coverage scanfits.c


fitsglue: map001.fits map002.fits map003.fits
@echo Running $@
$(EXEC) fitsglue map%03d.fits cube.fits inlist=1:3;
$(EXEC) fitsglue map%03d.fits cube.fits inlist=1:3 ; nemo.coverage fitsglue.c
$(EXEC) fitshead map001.fits | grep DATA; nemo.coverage fitshead.c
$(EXEC) fitshead map002.fits | grep DATA
Expand Down
2 changes: 2 additions & 0 deletions src/image/io/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,11 @@ ccdprint: ccd.in

ccddump: ccd.in
@echo Running $@
$(EXEC) ccddump ccd.in;
$(EXEC) ccddump ccd.in . ; nemo.coverage ccddump.c

ccdspec: ccd3.in
ccdspec ccd3.in
ccdspec ccd3.in | tail -3

ccdhead: ccd.in
Expand Down
7 changes: 5 additions & 2 deletions src/image/misc/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ccdmom.in:

ccdplot: ccd.in
@echo Running $@
$(EXEC) ccdplot ccd.in
$(EXEC) ccdplot ccd.in $(C) yapp=$(YAPP) ; nemo.coverage ccdplot.c

ccdstat: ccd.in
Expand All @@ -40,12 +41,13 @@ ccdstat: ccd.in

ccdsub: ccd.in
@echo Running $@
$(EXEC) ccdsub ccd.in - 10:20 10:20
$(EXEC) ccdsub ccd.in - 10:20 10:20 | $(EXEC) ccdstat - ; nemo.coverage ccdsub.c ccdstat.c

ccdrow: ccd.in
@echo Running $@
$(EXEC) ccdrow ccd.in - row=0 | $(EXEC) ccdstat - ; nemo.coverage ccdrow.c ccdstat.c

$(EXEC) ccdrow ccd.in - row=0 | $(EXEC) ccdstat - ; nemo.coverage ccdrow.c ccdstat.c
$(EXEC) ccdrow ccd.in . row=0;
ccdmom: ccdmom.in
@echo Running $@
$(EXEC) ccdmom ccdmom.in - 1 | $(EXEC) ccdstat - ; nemo.coverage ccdmom.c ccdstat.c
Expand All @@ -63,6 +65,7 @@ gauss2:

ccdstack: gauss1 gauss2
@echo Running $@
$(EXEC) ccdstack gauss1,gauss2 .
$(EXEC) ccdstack gauss1,gauss2 - | $(EXEC) ccdstat -
$(EXEC) ccdstack gauss2,gauss1 - | $(EXEC) ccdstat -

Expand Down
2 changes: 1 addition & 1 deletion src/image/rotcur/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rotcurshape: map1.vel

rotcurtab:
$(EXEC) rotcurtab radii=0:5 rotcur1=linear,1 rotcur2=core,1,2,3; nemo.coverage rotcurtab.c

$(EXEC) rotcurtab radii=0:5 rotcur1=linear,1 rotcur2=core,1,2,3;
velfit: map1.vel
$(EXEC) velfit in=map1.vel radii=$(R) pa=$(PA) inc=$(INC) out=map2.vel
PA = 30
Expand Down
4 changes: 4 additions & 0 deletions src/image/trans/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,22 @@ ccdgen:

ccdflip: ccd.in
@echo Running $@
$(EXEC) ccdflip ccd.in - xy;
$(EXEC) ccdflip ccd.in - xy | $(EXEC) ccdprint - x= y= format=%7.3f ; nemo.coverage ccdflip.c

ccdsmooth: ccd.in
@echo Running $@
$(EXEC) ccdsmooth ccd.in - 1;
$(EXEC) ccdsmooth ccd.in - 1 | $(EXEC) ccdprint - x= y= format=%7.3f ; nemo.coverage ccdsmooth.c

ccdsharp:
@echo Running $@
$(EXEC) ccdsharp ccd.in -;
$(EXEC) ccdsharp ccd.in - | $(EXEC) ccdprint - x= y= format=%7.3f ; nemo.coverage ccdsmooth.c

ccdsharp3: ccd3.in
@echo Running $@
$(EXEC) ccdsharp3 ccd3.in -;
$(EXEC) ccdsharp3 ccd3.in -| $(EXEC) ccdprint - x= y= z= format=%7.3f ; nemo.coverage ccdsmooth.c

ccdintpol: ccd.in
Expand Down
4 changes: 2 additions & 2 deletions src/kernel/fortran/Testfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DIR = src/kernel/fortran
BIN =
NEED =$(BIN) unfio ftoc
NEED =$(BIN) ftoc

# no testing done here yet

Expand All @@ -13,7 +13,7 @@ need:
clean:
@echo Cleaning $(DIR)

all: $(BIN)
all: $(BIN)

func:
($(MAKE) funcc; $(EXEC) funcc)
3 changes: 3 additions & 0 deletions src/kernel/io/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,12 @@ tsf:

csf:
@echo Running csf
$(EXEC) csf rsf.out csf.out MySet
$(EXEC) csf rsf.out csf.out MySet ; nemo.coverage csf.c
$(EXEC) csf rsf.out - MyD | $(EXEC) tsf - maxprec=t ; nemo.coverage csf.c tsf.c
$(EXEC) csf rsf.out - MyD convert=d2f | $(EXEC) tsf - maxprec=t ; nemo.coverage csf.c tsf.c
$(EXEC) csf rsf.out - MyF | $(EXEC) tsf - maxprec=t ; nemo.coverage csf.c tsf.c

# oops,there is a problem here, can't do this
# csf rsf.out - MyF convert=f2d | tsf - maxprec=t
$(EXEC) tsf csf.out ; nemo.coverage tsf.c
Expand All @@ -50,5 +52,6 @@ bsf:

hisf:
@echo Running hisf
$(EXEC) hisf csf.out
$(EXEC) hisf csf.out ; nemo.coverage history.c

5 changes: 3 additions & 2 deletions src/kernel/misc/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ help:
need:
@echo $(NEED)

all: xrandom nemoinp
all: xrandom nemoinp linreg

clean:
@echo Cleaning $(DIR)
Expand All @@ -17,6 +17,7 @@ clean:
xrandom:
@echo Running xrandom
@echo uniform seed=5 n=5
$(EXEC) xrandom seed=5 n=5 report=t;
$(EXEC) xrandom seed=5 n=5 report=t ; nemo.coverage xrandom.c
@echo gauss seed=5 n=5
$(EXEC) xrandom seed=5 n=5 gauss=t report=t ; nemo.coverage xrandom.c
Expand Down Expand Up @@ -45,5 +46,5 @@ nemoinp:


linreg:
@nemoinp 1:10 | tabmath - - '%1+rang(0,0.5)' seed=123 > linreg.tab
@nemoinp 1:10 | tabmath - - '%1+rang(0,0.5)' seed=123 > linreg.tab;
$(EXEC) linreg linreg.tab
1 change: 1 addition & 0 deletions src/kernel/tab/Testfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ tabmath: tab.in

tabplot:
@echo Running $@
$(EXEC) tabplot -;
$(EXEC) tabmath tab.in - 'sqrt(%1)' | $(EXEC) tabplot - ; nemo.coverage tabplot.c

NMAX = 100000
Expand Down
1 change: 0 additions & 1 deletion src/scripts/testsuite
Original file line number Diff line number Diff line change
Expand Up @@ -214,4 +214,3 @@ help:
echo "(see also Testfile.def)"
echo " NBODY=10 should at least be 10; 10 makes it run fast"
echo