Scroll to navigation

DH_RAKU_TEST(1) User Contributed Perl Documentation DH_RAKU_TEST(1)

NAME

dh_raku_test -- automatically test perl 6 module packages

SYNOPSIS

dh_raku_test

DESCRIPTION

This script will call "prove6 -l -v" to self-test a Raku module package. It will only do so if three conditions are met:

  • A 't' directory exists
  • The debhelper build option 'nocheck' is not set

HOME directory

Before launching tests, the "HOME" directory is set to "debian/tmp/home". This directory is cleaned up after the tests are done.

Breaking build dependency loop

By default, this program uses "prove6" command to run the test suite found in "t/" directory. But "prove6" and its dependencies cannot use "prove6" when bootstrapping <https://wiki.debian.org/DebianBootstrap>.

So "dh_test" can run the test suite when only Perl5's prove can be found using "prove --exec raku" command.

SEE ALSO

dh_raku_maintscript(1), dh_raku_depsfile(1), debhelper(7), dh(1)

2023-01-18 perl v5.36.0