From 4feaa2fa7f12c2d23164f10c10c397063b85a3be Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Fri, 10 Oct 2025 18:22:26 +0100 Subject: [PATCH] Tweak Makefile to so that make test TEST="CMD PIGLE" --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5738a87b..aa7a5e38 100755 --- a/Makefile +++ b/Makefile @@ -111,7 +111,7 @@ endif # End-To-End (E2E) tests e2etest: ${BIN} - /bin/bash tests/test.sh ${BIN} $(TEST) ${MPI} ${FFTW} ${PLUMED} ${CP2K} ${TCPB} test + /bin/bash tests/test.sh "${BIN}" "$(TEST)" "${MPI}" "${FFTW}" "${PLUMED}" "${CP2K}" "${TCPB}" test # Runs both end-to-end and unit tests test: unittest e2etest @@ -121,11 +121,11 @@ testclean: ifneq ($(strip $(PFUNIT_PATH)),) $(MAKE) -C unit_tests clean endif - /bin/bash tests/test.sh ${BIN} $(TEST) ${MPI} ${FFTW} $(PLUMED) ${CP2K} ${TCPB} clean + /bin/bash tests/test.sh "${BIN}" "$(TEST)" "${MPI}" "${FFTW}" "$(PLUMED)" "${CP2K}" "${TCPB}" clean # This will automatically generate new reference data for E2E tests makeref: ${BIN} - /bin/bash tests/test.sh ${BIN} $(TEST) ${MPI} ${FFTW} $(PLUMED) ${CP2K} ${TCPB} makeref + /bin/bash tests/test.sh "${BIN}" "$(TEST)" "${MPI}" "${FFTW}" "$(PLUMED)" "${CP2K}" "${TCPB}" makeref .PHONY: clean test testclean makeref unittest e2etest