tests: ensure sanity leak check tests pass when leak checks are disabled.
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Fri, 17 Aug 2012 01:12:05 +0000 (18:12 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 29 Aug 2012 18:10:24 +0000 (14:10 -0400)
commit91931bcabb0fba1a8b76f92cefa33fdeb1b74a8b
treec84f078a6adf3cae843073d8f47aa18dc8e22d35
parentc95c2dffb0a37ae50350319c52b30629c32f6660
tests: ensure sanity leak check tests pass when leak checks are disabled.

This finalizes Robert Bradfords patch to allow NO_ASSERT_LEAK_CHECK
environment variable to disable leak checks in unit tests.

Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
tests/sanity-test.c
tests/test-runner.c