diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-08-01 23:19:46 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-04 06:23:58 +0200 |
commit | 22e478d20322a1d224fc41866d018d4b8a774057 (patch) | |
tree | 6768f5483bbb144d70114cecb3a53e85db7939bf /lib | |
parent | 85c80542a5c52311fdde71459a924d87ec95cc93 (diff) | |
download | pacman-22e478d20322a1d224fc41866d018d4b8a774057.tar.gz pacman-22e478d20322a1d224fc41866d018d4b8a774057.tar.xz |
pactest: delay test object creation
The actual test object is only used to run the test. Storing test cases
as strings limits the test object scope and allows it to be garbage
collected, reducing memory usage when multiple tests are run.
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions