Commit db4f710665 for perl
commit db4f710665d078e3da1c5c01d5e29798e3d4c568
Author: James E Keenan <jamesekeenan@yahoo.com>
Date: Fri Oct 9 07:12:48 2026 -0400
Don't mix specific tests with generated tests
diff --git a/t/harness b/t/harness
index 895c28a505..baff12ab58 100644
--- a/t/harness
+++ b/t/harness
@@ -373,6 +373,13 @@ else {
push @seq, _compute_tests_and_ordering(\@last)->@*;
push @tests, @last;
+ # _just_find_tests() is defined in t/TEST.
+ # If we're not passing specific tests on the command line, then we do
+ # not locate generated tests or run them.
+ my @generated_tests = ();
+ push @generated_tests, _just_find_tests('../dist/Devel-PPPort');
+ push @tests, @generated_tests;
+
$rules = { seq => \@seq };
foreach my $test (@tests) {
@@ -431,11 +438,6 @@ for (@tests) {
dump_tests(\@tests) if $dump_tests;
-# _just_find_tests() is defined in t/TEST
-my @generated_tests = ();
-push @generated_tests, _just_find_tests('../dist/Devel-PPPort');
-push @tests, @generated_tests;
-
# filter_taint_tests() is defined in t/TEST
filter_taint_tests(\@tests);