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>2023-04-13 22:13:50 +0200
commit23529316b2e516296ed3d06e51c7ae7b65df859a (patch)
tree0d8c6a6a55ce5b50b016d38d88a3f288e3327b86 /t
parent80a65c5144fa92b82af4da74aea5b5bb7115ac61 (diff)
downloadurpmi-23529316b2e516296ed3d06e51c7ae7b65df859a.tar
urpmi-23529316b2e516296ed3d06e51c7ae7b65df859a.tar.gz
urpmi-23529316b2e516296ed3d06e51c7ae7b65df859a.tar.bz2
urpmi-23529316b2e516296ed3d06e51c7ae7b65df859a.tar.xz
urpmi-23529316b2e516296ed3d06e51c7ae7b65df859a.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:
=======