summaryrefslogtreecommitdiff
path: root/t/comp
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-11-01 17:57:45 +0100
committerYves Orton <demerphq@gmail.com>2022-11-01 21:17:44 +0100
commit7f25583b4d2376c256174fce1a6ab6b0b78b40a2 (patch)
tree9155fdb12c9161546986244dad6a01352c1a19ea /t/comp
parent4f18e31f9f87542b7d712b9ebfd14fd8d991fa31 (diff)
downloadperl-7f25583b4d2376c256174fce1a6ab6b0b78b40a2.tar.gz
t/comp/require.t - add a way to disable the sleep 20
it makes developing the test script quite annoying.
Diffstat (limited to 't/comp')
-rw-r--r--t/comp/require.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/comp/require.t b/t/comp/require.t
index 379acc758c..cb6bd3240a 100644
--- a/t/comp/require.t
+++ b/t/comp/require.t
@@ -34,7 +34,7 @@ push @files_to_delete, "$_->[0].pm" for @module_true_tests;
# to why there might be multiple execution of this test file, I don't
# know; but this is an experiment to see if random smoke failures go away.
-if (grep -e, @files_to_delete) {
+if (!$ENV{NO_SLEEP} and grep -e, @files_to_delete) {
print "# Sleeping for 20 secs waiting for other process to finish\n";
sleep 20;
}