From df62eae4548137a886a7b05625ef3294fdbdff95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 4 Mar 2020 15:35:17 +0100 Subject: [PATCH] added buildcheck/installcheck --- tests/multilib/Makefile | 9 +++++++++ tests/multiple/Makefile | 10 ++++++++++ tests/single/Makefile | 6 ++++++ 3 files changed, 25 insertions(+) diff --git a/tests/multilib/Makefile b/tests/multilib/Makefile index abf0663..e34227c 100644 --- a/tests/multilib/Makefile +++ b/tests/multilib/Makefile @@ -19,3 +19,12 @@ datafiles = multilib-help.pd multilib-meta.pd # include Makefile.pdlibbuilder from submodule directory 'pd-lib-builder' PDLIBBUILDER_DIR=../.. include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder + + +# simplistic tests whether all expected files have been produced/installed +buildcheck: all + test -e multilib.$(extension) +installcheck: install + test -e $(installpath)/multilib.$(extension) + test -e $(installpath)/multilib-help.pd + test -e $(installpath)/multilib-meta.pd diff --git a/tests/multiple/Makefile b/tests/multiple/Makefile index a79d6ea..2e045c0 100644 --- a/tests/multiple/Makefile +++ b/tests/multiple/Makefile @@ -14,3 +14,13 @@ datafiles = multiple-help.pd multiple-meta.pd # include Makefile.pdlibbuilder from submodule directory 'pd-lib-builder' PDLIBBUILDER_DIR=../.. include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder + +# simplistic tests whether all expected files have been produced/installed +buildcheck: all + test -e multipleA.$(extension) + test -e multipleB.$(extension) +installcheck: install + test -e $(installpath)/multipleA.$(extension) + test -e $(installpath)/multipleB.$(extension) + test -e $(installpath)/multiple-help.pd + test -e $(installpath)/multiple-meta.pd diff --git a/tests/single/Makefile b/tests/single/Makefile index 2dd8090..8ae70f7 100644 --- a/tests/single/Makefile +++ b/tests/single/Makefile @@ -14,3 +14,9 @@ datafiles = single-help.pd single-meta.pd # include Makefile.pdlibbuilder from submodule directory 'pd-lib-builder' PDLIBBUILDER_DIR=../.. include $(PDLIBBUILDER_DIR)/Makefile.pdlibbuilder + +# simplistic tests whether all expected files have been produced/installed +buildcheck: all + test -e single.$(extension) +installcheck: install + test -e $(installpath)/single.$(extension)