]> git.ipfire.org Git - thirdparty/rsync.git/commit
runtests.py: add -j/--parallel option for parallel test execution
authorAndrew Tridgell <andrew@tridgell.net>
Wed, 22 Apr 2026 02:07:31 +0000 (12:07 +1000)
committerAndrew Tridgell <andrew@tridgell.net>
Wed, 22 Apr 2026 02:34:39 +0000 (12:34 +1000)
commit350e295d1cc48d8ab9183d2073ef15a76d234048
tree75dcdf773eae07c307f9c2ad3b25f2ee3ee1118a
parent066156fcd934fd22fd24f38497700d62761916d9
runtests.py: add -j/--parallel option for parallel test execution

Add parallel test execution using concurrent.futures. With -j8 the
test suite completes in ~4s vs ~29s sequential (~7x speedup).

Also fix two issues that caused failures under parallel execution:
- rsync_ls_lR now prunes testtmp/ so parallel tests don't see each
  other's temp files when scanning the source tree
- clean-fname-underflow.test now uses $scratchdir instead of /tmp

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
runtests.py
testsuite/clean-fname-underflow.test
testsuite/rsync.fns