From 0285924292ae87d23902865d3b6b813e772888ee Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 20 Nov 2017 01:27:25 -0200 Subject: [PATCH] build-style/perl-module.sh: use generic do_check function --- common/build-style/perl-module.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/common/build-style/perl-module.sh b/common/build-style/perl-module.sh index e5e3f611981..13d53cd37e9 100644 --- a/common/build-style/perl-module.sh +++ b/common/build-style/perl-module.sh @@ -65,6 +65,13 @@ do_build() { ${makejobs} ${make_build_args} ${make_build_target} } +do_check() { + : ${make_cmd:=make} + : ${make_check_target:=test} + + ${make_cmd} ${make_check_args} ${make_check_target} +} + do_install() { : ${make_cmd:=make} : ${make_install_target:=install}