glib r7358 - in trunk: . glib
- From: timj svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7358 - in trunk: . glib
- Date: Fri, 15 Aug 2008 10:44:57 +0000 (UTC)
Author: timj
Date: Fri Aug 15 10:44:57 2008
New Revision: 7358
URL: http://svn.gnome.org/viewvc/glib?rev=7358&view=rev
Log:
2008-08-15 12:41:26 Tim Janik <timj imendio com>
* glib/gtestutils.c: changed assertion messages, so older emacsen
can also detect failing source file and line, fixes:
Bug 502498 â Test framework assertion failures should follow gcc error format
Modified:
trunk/ChangeLog
trunk/glib/gtestutils.c
Modified: trunk/glib/gtestutils.c
==============================================================================
--- trunk/glib/gtestutils.c (original)
+++ trunk/glib/gtestutils.c Fri Aug 15 10:44:57 2008
@@ -1267,10 +1267,10 @@
message = "code should not be reached";
g_snprintf (lstr, 32, "%d", line);
s = g_strconcat (domain ? domain : "", domain && domain[0] ? ":" : "",
- "ERROR:(", file, ":", lstr, "):",
+ "ERROR:", file, ":", lstr, ":",
func, func[0] ? ":" : "",
" ", message, NULL);
- g_printerr ("**\n** %s\n", s);
+ g_printerr ("**\n%s\n", s);
g_test_log (G_TEST_LOG_ERROR, s, NULL, 0, NULL);
g_free (s);
abort();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]