summaryrefslogtreecommitdiff
path: root/tests/xml2sexprtest.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-09-20 19:11:02 +0100
committerDaniel P. Berrange <berrange@redhat.com>2013-10-08 12:39:30 +0100
commit40911b66d441d473b6e4419b1d324f3a4b4ead34 (patch)
tree02ecd5d86ec2a7aa2b9266f5369013b3da9fac0c /tests/xml2sexprtest.c
parent50ee3e03572567884692be5a4cfb08a8e616bef7 (diff)
downloadlibvirt-40911b66d441d473b6e4419b1d324f3a4b4ead34.tar.gz
Remove existing OOM test impl
The current OOM test impl is too inefficient to be used on the large test suites. It loops running 'main' multiple times, once for each alloc in the 'main' method. This has complexity 'n * (n + 1) / 2' in terms of total alloc count. It will be replaced by a more efficient impl whicih runs individual test cases instead. This will have same complexity but the values of 'n' will be much smaller, so a net win. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests/xml2sexprtest.c')
0 files changed, 0 insertions, 0 deletions