From: Luke Shumaker <[email protected]> I don't usually send patches here, I usually just push them to git, but I'd like for code review to happen more often, so here we go. This is also published as the 'lukeshu/fast-tests' branch in git.
The goal of this patchset is to speed up the dbscripts test suite (`make -C test test`) by backporting package caching from Arch's dbscripts. To do this without rewriting it too much, we also need to clean up signature handling a bit. On beefcake, this cuts the time the test suite takes to run from ~60 minutes down to ~15 minutes. Luke Shumaker (3): Get rid of config:REQUIRE_SIGNATURE -- always require a signature test/lib/common.bash: Sign packages as part of __buildPackage test: common.bash:__getCheckSum: Don't rely on IFS Pierre Schmitz (3): db-update: Check that packages with invalid signatures wont get added Signing packages is no longer optional Cache already built packages config | 2 -- db-functions | 4 +-- db-update | 2 +- test/Makefile | 6 ++-- test/cases/create-filelists.bats | 1 - test/cases/db-update.bats | 31 ++++++++++++++++ test/cases/signed-packages.bats | 31 ---------------- test/lib/common.bash | 76 ++++++++++++++++++---------------------- 8 files changed, 72 insertions(+), 81 deletions(-) delete mode 100755 test/cases/signed-packages.bats -- Happy hacking, ~ Luke Shumaker _______________________________________________ Dev mailing list [email protected] https://lists.parabola.nu/mailman/listinfo/dev
