From 23529316b2e516296ed3d06e51c7ae7b65df859a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 28 Jul 2022 14:45:03 +0200 Subject: Explain how to run parts of tests --- t/README | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/t/README b/t/README index 9c821497..41f48345 100644 --- a/t/README +++ b/t/README @@ -32,6 +32,15 @@ eatmydata make testall If you didn't alter the tests data, you can further speedup a re-run by using: [[ -d t/media ]] && mv -f t/02create_pkgs.t{,.i} +You can selectively run some tests: +# Run everything: +PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t +# Only run everything orphans tests: +PERL_DL_NONLAZY=1 perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*orphans*.t +# If you want to see the output: +perl t/superuser--orphans.t + + Layout: ======= -- cgit v1.2.1