Re: [Dev] [dbscripts] [PATCH 5/6] Cache already built packages

2018-04-05 Thread Luke Shumaker
On Tue, 03 Apr 2018 16:10:58 -0400, Luke Shumaker wrote: > > From: Pierre Schmitz > > (cherry picked from commit 59d495b55f52253518fe1a184627e7259034f978) > --- > test/Makefile| 6 -- > test/lib/common.bash | 25 +++-- > 2 files changed, 23

[Dev] [dbscripts] [PATCH 2/2] test/Makefile: Share the package cache between test suite runs

2018-04-05 Thread Luke Shumaker
From: Luke Shumaker Previous commits introduced a "package cache" that is used during a test suite run, to avoid rebuilding packages (libremakepkg) many times throughout the tests. That cache lived in a temporary directory created by `make test`. This patch speeds up the

[Dev] [dbscripts] [PATCH 0/2] Speed up the test suite even more

2018-04-05 Thread Luke Shumaker
From: Luke Shumaker Before applying these changes to 'master', I'd like to submit them here for comments. This patchset is also published as the 'lukeshu/faster-tests' branch in git. The last patchset I submitted for review introduced a "package cache" that is used during

[Dev] [dbscripts] [PATCH 1/2] test: common.bash: Be more careful about what we put in the package cache

2018-04-05 Thread Luke Shumaker
From: Luke Shumaker The glob that copies makepkg outputs to the package cache was overly permissive, and copies too much. releasePackage calls __buildPackage from "${TMP}/svn-packages-copy/${pkgbase}/trunk/". This means that when we update a package, after the updated