diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2014-08-01 14:19:46 -0700 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-08-04 14:23:58 +1000 |
commit | 22e478d20322a1d224fc41866d018d4b8a774057 (patch) | |
tree | 6768f5483bbb144d70114cecb3a53e85db7939bf /scripts/library/term_colors.sh | |
parent | 85c80542a5c52311fdde71459a924d87ec95cc93 (diff) | |
download | 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 'scripts/library/term_colors.sh')
0 files changed, 0 insertions, 0 deletions