# New Ticket Created by James Keenan # Please include the string: [perl #49720] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=49720 >
Currently all the tests in t/configure/ follow one of two naming patterns: 1. 0\d\d-.*\.t: These currently run from 001 to 061 or so. They mainly test .pm files under lib/Parrot/. 2. 1\d\d-(init|inter|auto|gen)_.*-\d\d\.t: These tests run from 101 to 160, with multiple tests for each step class distinguished by the two-digit number preceding '.t'. The names of these files correspond to the configuration step classes they test. No change proposed for #1. The initial 3-digits in the tests in group #2 are meant to guarantee that the tests are run in the same order as do the step classes themselves when run by Parrot::Configure::runstep(), i.e., the order specified in Parrot::Configure::Step::List. But it means that if we split one config step into two or merge two into one, we ought to renumber all 100+ test files. I've done this once; I don't want to do it again. So I'm proposing to delete the 3 digits at the start of the step class test files. When 'make test' runs them, they'll run in alphabetical order. That's okay, because each test file is logically independent of each other. However, when you call them via 'perl Configure.pl --test', I'll arrange it for the tests to run in the same order as the configuration steps themselves. I have created the 'renumbertests' branch for this purpose. kid51