https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7163

            Bug ID: 7163
           Summary: Parallel make test
           Product: Spamassassin
           Version: SVN Trunk (Latest Devel Version)
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Building & Packaging
          Assignee: [email protected]
          Reporter: [email protected]

Running "make test" takes a while, and it would be nice to make it support
parallel testing to make it go faster for easier rapid development.

The test suite is executed as a single job, so -j will not work to speed it up
as you would usually expect. Fortunately, Test::Harness looks for a few
environment variables and one of them lets us set jobs. Unfortunately, I get
the following error when trying to use it on the current trunk, among others:

    Apr  3 08:23:42.600 [20246] warn: locker: error accessing
./log/user_state/auto-whitelist.lock: No such file or directory at
../blib/lib/Mail/SpamAssassin/Locker/UnixNFSSafe.pm line 106. 

There are likely more issues, will include a full log in a bit. In addition to
being able to do faster testing, we can gain some extra opportunities for
concurrency and maybe make scanning faster as well.

Further Reading:
http://search.cpan.org/~leont/Test-Harness-3.35/lib/Test/Harness.pm
http://stackoverflow.com/questions/9147196/makefile-pass-jobs-param-to-sub-makefiles

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to