DH_RAKU_TEST(1)

πŸ“¦
version 0.19 Β· 4 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸŽ€ DH_RAKU_TEST(1) πŸŽ€

okay bestie, welcome to dh_raku_test β€” it's a page from the User Contributed Perl Documentation collection, and it's here to tell you how this lil script automatically tests perl 6 module packages. yes, "perl 6". we love a vintage moment. πŸ’…


✨ NAME ✨

dh_raku_test β€” automatically test perl 6 module packages 🧚


🌸 SYNOPSIS 🌸

dh_raku_test

that's it. no flags, no args, no drama. she just goes. πŸ‘‘


πŸ’– DESCRIPTION πŸ’–

okay so this script literally calls prove --exec raku -Ilib to test a Raku module package. that's the whole vibe. πŸ¦‹

BUT. she is picky, and honestly? respect. she only runs if three conditions are met:

  • A t directory exists πŸ‘€
  • The debhelper build option nocheck is not set πŸ™…
no t directory, no tests. nocheck turned on, no tests. she said boundaries, periodt. βœ‹

🏠 HOME directory 🏠

before launching tests, the HOME directory gets set to debian/tmp/home. and then β€” because she's a clean girl β€” that directory is cleaned up after the tests are done. ✨🧼


πŸŒ€ Breaking build dependency loop πŸŒ€

so this script used to call c<prove6>, and babes, it caused a lot of problems, all because of a dependency loop. πŸ˜­πŸ’€

now? only Perl's prove is used. much more peaceful. much more main character. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘


and that's the whole page, bestie β€” go test something iconic. πŸ’œ

this one's from perl v5.40.1, 2025-05-08 β€” the docs are giving certified classic, no cap. 🫢

πŸ“¦ where this page comes from