Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-08 23:32:19 -0500
committerDan McGee <dan@archlinux.org>2011-08-09 15:36:05 -0500
commit9d3d647f0031edd31fc7442f9d2cd9729718e41c (patch)
treec730e1cb3631e849d6490113d0efe6054b4ba344 /doc
parent5f38660be12c898e6ddef0d09b973d259d80c763 (diff)
pactest: improve speed of local DB dependent rules
We were doing some really silly stuff before and abusing the os.walk() call, having to walk the entire local database for every single PKG rule. We really only need top level directories, and we can cache any generated package since calls to db_read() are well-defined and only happen in one place. This speeds up the running of tests that may want to add 100 PKG_VERSION rules at once, where before we had to limit how many we used in order to not put a serious cramp in the speed of the test suite run. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions