summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2022-07-28 14:45:03 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2022-12-10 14:15:07 +0100
commit4a5b01d691b8439b977df0e27c9da50c6a3a3735 (patch)
tree38a6863a9f00756f2db85f5cf1a004e27e7c7886 /t
parent589bb393d044e097782759ebb0cbec630b971d42 (diff)
downloadurpmi-4a5b01d691b8439b977df0e27c9da50c6a3a3735.tar
urpmi-4a5b01d691b8439b977df0e27c9da50c6a3a3735.tar.gz
urpmi-4a5b01d691b8439b977df0e27c9da50c6a3a3735.tar.bz2
urpmi-4a5b01d691b8439b977df0e27c9da50c6a3a3735.tar.xz
urpmi-4a5b01d691b8439b977df0e27c9da50c6a3a3735.zip
Explain how to run parts of tests
Diffstat (limited to 't')
-rw-r--r--t/README9
1 files changed, 9 insertions, 0 deletions
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:
=======