Disable a broken test

One of the option context tests relied on the ability to
call g_set_pgrname() more than once. Thats no longer possible
(without incurring a warning that wrecks the test).
This commit is contained in:
Matthias Clasen 2009-11-29 20:47:51 -05:00
parent 31be5a9340
commit 12939c54f9

View File

@ -1770,7 +1770,13 @@ main (int argc,
g_test_add_func ("/context/add", add_test1);
/* Test parsing empty args */
#if 0
/* This test relies on the ability to call g_set_prgname() more
* than once (without incurring a g_warning), which is no longer
* the case.
*/
g_test_add_func ("/context/empty1", empty_test1);
#endif
g_test_add_func ("/context/empty2", empty_test2);
g_test_add_func ("/context/empty3", empty_test3);