Skip to content

Commit 2f71c31

Browse files
committed
Add test directory for control file check program
1 parent 3ccedfa commit 2f71c31

19 files changed

+1192
-5
lines changed

tests/Control_file_check/Makefile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
#
2+
# Makefile for Kemo's Dynamo toolkit
3+
# Written by H. Matsui
4+
#
5+
SHELL = /bin/sh
6+
#
7+
# directories of Kemo's Dynamo toolkit
8+
#
9+
SRCDIR = /Users/matsui/src_kemo
10+
BUILDDIR = $(SRCDIR)/bin
11+
#
12+
TARGET_CONTROL_MHD_CHECK = $(BUILDDIR)/utilities/check_control_mhd
13+
#
14+
15+
all: test
16+
17+
test:
18+
make clean
19+
~/src_kemo/bin/utilities/check_control_mhd control_MHD > log.txt
20+
diff -w log.txt reference/control_checked.txt
21+
@echo 'Control file check test is succeessfully finished.'
22+
23+
24+
clean:
25+
rm -f *.dat *.txt
26+
27+
distclean: clean

0 commit comments

Comments
 (0)