Skip to content

Commit

Permalink
optionally add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jul 4, 2024
1 parent 145014e commit 6bf5a99
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions usr/hannorein/Testfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

RUNS = run1

REB = $(shell grep ^rebound $(NEMO)/opt/mknemo.log | wc -l)

ifeq ($(REB),0)
ALL = all0
else
ALL = all1
endif


all: $(ALL)

all0:
@echo rebound not installed, tests disabled

all1: $(RUNS)

clean:
rm -rf $(RUNS)

run1:
rm -f run1.*
mkplummer run1.1 100 seed=123
s2reb run1.1 run1.2
reb_integrate run1.2 run1.3 tstop=1 dt=0.1 dtout=0.1 eps=0.05
reb2s run1.3 run1.4
bsf run1.4 test="0.00216833 0.650161 -4.77863 5.57043 7010" label=rebound


0 comments on commit 6bf5a99

Please sign in to comment.