The db package supports running the 6+ hours of tests in parallel through the tclsh command 'run_parallel #proc run_std'. This seems to be the intended way of running these tests, as the status output is much more informative about progress of the tests when run in parallel. Doing this requires 2 patches: 1. Patch db.eclass to find the number of processes to run in parallel from MAKEOPTS, and call the test script. (This obviously might need to be moved, as the eclass is used in many different places) 2. Patch a couple paths in the parallel test script, as the script assumes it is passed relative paths, and the Gentoo build passes it absolute paths. I have written and tested these patches on an amd64 box on db-4.6.21_p3-r1 and db-4.5.20_p2-r1. Reproducible: Always
Created attachment 176972 [details, diff] db.eclass changes
Created attachment 176974 [details, diff] patch to db-4.6.21 to fix path resolution issues A similar patch works for 4.5.20, but I haven't explicitly checked that the line numbers are the same.
InCVS. Slightly differently.