xbps-src: add make_check_pre
$make_check_pre can be used for wrapper commands like xvfb-run or dbus-run-session which are common ways to make tests work. This way many templates can avoid defining their own do_check function.
This commit is contained in:
parent
f991e72bf1
commit
71b11fdbdb
14 changed files with 17 additions and 14 deletions
|
@ -30,7 +30,7 @@ do_check() {
|
|||
: ${make_cmd:=make}
|
||||
: ${make_check_target:=check}
|
||||
|
||||
${make_cmd} ${make_check_args} ${make_check_target}
|
||||
${make_check_pre} ${make_cmd} ${make_check_args} ${make_check_target}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue