Skip to content

Commit

Permalink
Update Makfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinstratford committed Dec 6, 2024
1 parent 95c9952 commit 36cc95d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
20 changes: 13 additions & 7 deletions tests/regression/d2q9/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
#
# Makefile
#
# D2Q9 regression tests
#
###############################################################################

include ../../../Makefile.mk

PAR=${LAUNCH_MPIRUN_CMD}

d2q9:
@echo "TEST --> regression tests (d2q9)"
inputs='serial*inp'; \
for file in $$inputs; do ../../test.sh $$file "" "$(PAR)"; done
SOURCES = $(wildcard *.inp)
LOGS = ${SOURCES:.inp=.new}

test:
$(MAKE) -s clean
$(MAKE) -s logs
@echo End of tests.

logs: $(LOGS)

%.new: %.inp
../../test.sh $< "" "${PAR}"
clean:
rm -f *new test-diff* input
rm -f *new test-diff* *meta *001-001
20 changes: 13 additions & 7 deletions tests/regression/d3q15/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@
#
# Makefile
#
# D3Q15 regression tests
#
###############################################################################

include ../../../Makefile.mk

PAR=${LAUNCH_MPIRUN_CMD}

serial:
@echo "TEST --> regression tests (d3q15)"
inputs='serial*inp'; \
for file in $$inputs; do ../../test.sh $$file "" "$(PAR)"; done
SOURCES = $(wildcard *.inp)
LOGS = ${SOURCES:.inp=.new}

test:
$(MAKE) -s clean
$(MAKE) -s logs
@echo End of tests.

logs: $(LOGS)

%.new: %.inp
../../test.sh $< "" "${PAR}"
clean:
rm -f *new test-diff* input
rm -f *new test-diff* *meta *001-001

0 comments on commit 36cc95d

Please sign in to comment.