Mercurial > pidgin
diff libpurple/tests/check_libpurple.c @ 28790:c0c24f947211
Allow toggling debugging in the test suite with the environment variable
PURPLE_CHECK_DEBUG.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 13 Dec 2009 03:24:01 +0000 |
parents | f3085a939a6d |
children | a40c55113f7d |
line wrap: on
line diff
--- a/libpurple/tests/check_libpurple.c Sun Dec 13 02:36:08 2009 +0000 +++ b/libpurple/tests/check_libpurple.c Sun Dec 13 03:24:01 2009 +0000 @@ -67,6 +67,9 @@ int number_failed; SRunner *sr; + if (g_getenv("PURPLE_CHECK_DEBUG")) + purple_debug_set_enabled(TRUE); + /* Make g_return_... functions fatal, ALWAYS. * As this is the test code, this is NOT controlled * by PURPLE_FATAL_ASSERTS. */