Tests: use G_SLICE=debug-blocks
authorAlberto Mardegan <alberto.mardegan@canonical.com>
Thu, 29 Nov 2012 11:58:57 +0000 (13:58 +0200)
committerAlberto Mardegan <alberto.mardegan@canonical.com>
Thu, 29 Nov 2012 12:00:52 +0000 (14:00 +0200)
This can help catch some memory errors.

tests/signon-glib-test.sh

index b49521eb2f81190d485cbee75288cc233c16251f..5b276153efcebf802c35f12dc4c4df6797561e7e 100755 (executable)
@@ -10,6 +10,7 @@ export SSO_EXTENSIONS_DIR="/tmp" # this disables all extensions
 
 #Environment variables for the test application
 export G_MESSAGES_DEBUG=all
+export G_SLICE=debug-blocks
 
 TEST_APP=./signon-glib-testsuite