test_start() uses G_STRFUNC to determine function name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tests/buffer/buffer-test.c uses G_STRFUNC to print the name of the test
function. However, this assumes the compiler supports
__PRETTY_FUNCTION__ or __func__. If it doesn't, then test output is
prepended with:
  Test: ???

This basically causes the diff comparison to fail for most non-GCC
compilers. Patch attached to fix this by manually adding the function
name. Yeah, ugly, but I can't see an easier way to fix this.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)
Index: tests/buffer/buffer-test.c
===================================================================
--- tests/buffer/buffer-test.c.orig	2009-06-17 20:01:33.000000000 +0000
+++ tests/buffer/buffer-test.c	2009-11-29 15:40:16.115468554 +0000
@@ -25,8 +25,8 @@
  * rendering.
  */
 
-#define test_start()              GString *gstring=g_string_new("");\
-                                  print (("Test: %s\n", G_STRFUNC))
+#define test_start(arg)              GString *gstring=g_string_new("");\
+                                     print (("Test: %s\n", arg))
 #define print(args)		  G_STMT_START {		\
 	gchar *_fmt = g_strdup_printf args;			\
 	g_string_append (gstring, _fmt);			\
Index: tests/buffer/tests/buffer_shift_diagonal.c
===================================================================
--- tests/buffer/tests/buffer_shift_diagonal.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/buffer_shift_diagonal.c	2009-11-29 15:40:39.224892970 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer, *sub, *subsub;
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("buffer_shift_diagonal");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
Index: tests/buffer/tests/buffer_shift_horizontal.c
===================================================================
--- tests/buffer/tests/buffer_shift_horizontal.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/buffer_shift_horizontal.c	2009-11-29 15:40:48.991496841 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer, *sub, *subsub;
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("buffer_shift_horizontal");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
Index: tests/buffer/tests/buffer_shift_vertical.c
===================================================================
--- tests/buffer/tests/buffer_shift_vertical.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/buffer_shift_vertical.c	2009-11-29 15:40:58.951643321 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer, *sub, *subsub;
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("buffer_shift_vertical");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
Index: tests/buffer/tests/disabled_abyss.c
===================================================================
--- tests/buffer/tests/disabled_abyss.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/disabled_abyss.c	2009-11-29 15:41:07.221880799 +0000
@@ -8,7 +8,7 @@
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  subsubrect = {3, 3, 4, 4};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("disabled_abyss");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   sub = g_object_new (GEGL_TYPE_BUFFER,
Index: tests/buffer/tests/get_shifted.c
===================================================================
--- tests/buffer/tests/get_shifted.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/get_shifted.c	2009-11-29 15:41:14.951446310 +0000
@@ -4,7 +4,7 @@
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  foor =  {0, 0, 10, 10};
   GeglRectangle  rect =  {0, 0, 20, 20};
-  test_start ();
+  test_start ("get_shifted");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
Index: tests/buffer/tests/linear_from_data.c
===================================================================
--- tests/buffer/tests/linear_from_data.c.orig	2009-06-17 20:01:33.000000000 +0000
+++ tests/buffer/tests/linear_from_data.c	2009-11-29 15:41:25.816936350 +0000
@@ -4,7 +4,7 @@
   GeglRectangle extent = {0,0, 10, 10};
   gfloat       *buf;
   gint          i;
-  test_start();
+  test_start("linear_from_data");
 
   buf = g_malloc (sizeof (float) * 10 * 10);
   for (i=0;i<100;i++)
Index: tests/buffer/tests/linear_from_data_rows.c
===================================================================
--- tests/buffer/tests/linear_from_data_rows.c.orig	2009-06-17 20:01:33.000000000 +0000
+++ tests/buffer/tests/linear_from_data_rows.c	2009-11-29 15:41:33.436975522 +0000
@@ -4,7 +4,7 @@
   GeglRectangle extent = {0,0, 10, 10};
   gfloat       *buf;
   gint          i;
-  test_start();
+  test_start("linear_from_data_rows");
 
   buf = g_malloc (sizeof (float) * 12 * 10);
   for (i=0;i<120;i++)
Index: tests/buffer/tests/linear_modify.c
===================================================================
--- tests/buffer/tests/linear_modify.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/linear_modify.c	2009-11-29 15:41:40.778306283 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,40,20};
   GeglRectangle roi = {1,1,30,10};
-  test_start();
+  test_start("linear_modify");
   buffer = gegl_buffer_linear_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   roi.y+=3;
Index: tests/buffer/tests/linear_new.c
===================================================================
--- tests/buffer/tests/linear_new.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/linear_new.c	2009-11-29 15:41:49.049198685 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,40,20};
   GeglRectangle roi = {1,1,30,10};
-  test_start();
+  test_start("linear_new");
   g_print ("foo!\n");
   buffer = gegl_buffer_linear_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
Index: tests/buffer/tests/linear_proxy_modify.c
===================================================================
--- tests/buffer/tests/linear_proxy_modify.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/linear_proxy_modify.c	2009-11-29 15:41:57.785844862 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,40,20};
   GeglRectangle roi = {1,1,30,10};
-  test_start();
+  test_start("linear_proxy_modify");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   roi.y+=3;
Index: tests/buffer/tests/sub_rect_fills_and_gets.c
===================================================================
--- tests/buffer/tests/sub_rect_fills_and_gets.c.orig	2009-06-17 20:01:33.000000000 +0000
+++ tests/buffer/tests/sub_rect_fills_and_gets.c	2009-11-29 15:42:06.595029882 +0000
@@ -5,7 +5,7 @@
   GeglRectangle  subrect2 = {8, 8, 30, 30};
   GeglRectangle  subrect3 = {-2, -2, 24, 24};
   GeglRectangle  rect = {0, 0, 20, 20};
-  test_start ();
+  test_start ("sub_rect_fills_and_gets");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   sub1 = gegl_buffer_create_sub_buffer (buffer, &subrect1);
   sub2 = gegl_buffer_create_sub_buffer (buffer, &subrect2);
Index: tests/buffer/tests/sub_sub_fill.c
===================================================================
--- tests/buffer/tests/sub_sub_fill.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/sub_sub_fill.c	2009-11-29 15:42:14.919174489 +0000
@@ -4,7 +4,7 @@
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  subsubrect = {3, 3, 4, 4};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("sub_sub_fill");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
 
Index: tests/buffer/tests/sub_sub_fill2.c
===================================================================
--- tests/buffer/tests/sub_sub_fill2.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/sub_sub_fill2.c	2009-11-29 15:42:23.314152080 +0000
@@ -4,7 +4,7 @@
   GeglRectangle  subrect =    {5, 5, 10, 10};
   GeglRectangle  subsubrect = {3, 3, 4, 4};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("sub_sub_fill2");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   fill (buffer, 0.8);
   sub = gegl_buffer_create_sub_buffer (buffer, &subrect);
Index: tests/buffer/tests/test_blank.c
===================================================================
--- tests/buffer/tests/test_blank.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_blank.c	2009-11-29 15:42:30.778773139 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer;
   GeglRectangle  rect = {0, 0, 20, 20};
 
-  test_start ();
+  test_start ("test_blank");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   print_buffer (buffer);
Index: tests/buffer/tests/test_checkerboard.c
===================================================================
--- tests/buffer/tests/test_checkerboard.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_checkerboard.c	2009-11-29 15:42:38.658757235 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer;
   GeglRectangle  rect = {0, 0, 20, 20};
 
-  test_start ();
+  test_start ("test_checkerboard");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   checkerboard (buffer, 3, 0.0, 1.0);
Index: tests/buffer/tests/test_gegl_buffer_copy.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy.c	2009-11-29 15:42:47.802342484 +0000
@@ -4,7 +4,7 @@
   GeglRectangle  bound = {0, 0, 20, 20};
   GeglRectangle  source = {2, 2, 5, 5};
   GeglRectangle  dest = {10, 10, 5, 5};
-  test_start ();
+  test_start ("test_gegl_buffer_copy");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   buffer2 = gegl_buffer_new (&bound, babl_format ("Y float"));
 
Index: tests/buffer/tests/test_gegl_buffer_copy_lower_left.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy_lower_left.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy_lower_left.c	2009-11-29 15:42:55.101283731 +0000
@@ -2,7 +2,7 @@
 {
   GeglBuffer    *buffer, *buffer2;
   GeglRectangle  bound = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_copy_lower_left");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   vgrad (buffer);
   {
Index: tests/buffer/tests/test_gegl_buffer_copy_lower_right.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy_lower_right.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy_lower_right.c	2009-11-29 15:43:02.182944450 +0000
@@ -2,7 +2,7 @@
 {
   GeglBuffer    *buffer, *buffer2;
   GeglRectangle  bound = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_copy_lower_right");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   vgrad (buffer);
   {
Index: tests/buffer/tests/test_gegl_buffer_copy_self.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy_self.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy_self.c	2009-11-29 15:43:08.932978170 +0000
@@ -4,7 +4,7 @@
   GeglRectangle  source = {2, 2, 2, 2};
   GeglRectangle  dest  = {15, 15, 1, 1};
   GeglRectangle  rect = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_copy_self");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   vgrad (buffer);
Index: tests/buffer/tests/test_gegl_buffer_copy_upper_left.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy_upper_left.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy_upper_left.c	2009-11-29 15:43:15.326996624 +0000
@@ -2,7 +2,7 @@
 {
   GeglBuffer    *buffer, *buffer2;
   GeglRectangle  bound = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_copy_upper_left");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   vgrad (buffer);
   {
Index: tests/buffer/tests/test_gegl_buffer_copy_upper_right.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_copy_upper_right.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_copy_upper_right.c	2009-11-29 15:43:22.494432994 +0000
@@ -2,7 +2,7 @@
 {
   GeglBuffer    *buffer, *buffer2;
   GeglRectangle  bound = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_copy_upper_right");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   vgrad (buffer);
   {
Index: tests/buffer/tests/test_gegl_buffer_duplicate.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_duplicate.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_duplicate.c	2009-11-29 15:43:46.017904382 +0000
@@ -2,7 +2,7 @@
 {
   GeglBuffer    *buffer, *buffer2;
   GeglRectangle  bound = {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_gegl_buffer_duplicate");
   buffer = gegl_buffer_new (&bound, babl_format ("Y float"));
   vgrad (buffer);
   buffer2 = gegl_buffer_dup (buffer);
Index: tests/buffer/tests/test_gegl_buffer_iterator1.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator1.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator1.c	2009-11-29 15:43:52.882710495 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle roi = {0,0,20,20};
-  test_start();
+  test_start("test_gegl_buffer_iterator1");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   print_buffer (buffer);
Index: tests/buffer/tests/test_gegl_buffer_iterator1sub.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator1sub.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator1sub.c	2009-11-29 15:44:00.588579704 +0000
@@ -5,7 +5,7 @@
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle sextent = {2,2,20,20};
   GeglRectangle roi = {0,0,20,20};
-  test_start();
+  test_start("test_gegl_buffer_iterator1sub");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   sub = gegl_buffer_create_sub_buffer (buffer, &sextent);
 
Index: tests/buffer/tests/test_gegl_buffer_iterator2.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator2.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator2.c	2009-11-29 15:44:07.964856253 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle roi = {0,0,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator2");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   print_buffer (buffer);
Index: tests/buffer/tests/test_gegl_buffer_iterator2sub.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator2sub.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator2sub.c	2009-11-29 15:44:16.840197257 +0000
@@ -5,7 +5,7 @@
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle sextent = {2,2,20,20};
   GeglRectangle roi = {0,0,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator2sub");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   sub = gegl_buffer_create_sub_buffer (buffer, &sextent);
   fill_rect (sub, &roi, 0.5);
Index: tests/buffer/tests/test_gegl_buffer_iterator3.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator3.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator3.c	2009-11-29 15:44:24.002693485 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle roi = {5,5,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator3");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   print_buffer (buffer);
Index: tests/buffer/tests/test_gegl_buffer_iterator3sub.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator3sub.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator3sub.c	2009-11-29 15:44:31.494385510 +0000
@@ -5,7 +5,7 @@
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle sextent = {2,2,20,20};
   GeglRectangle roi = {5,5,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator3sub");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   sub = gegl_buffer_create_sub_buffer (buffer, &sextent);
   fill_rect (sub, &roi, 0.5);
Index: tests/buffer/tests/test_gegl_buffer_iterator4.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator4.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator4.c	2009-11-29 15:44:39.365033976 +0000
@@ -3,7 +3,7 @@
   GeglBuffer   *buffer;
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle roi = {1,1,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator4");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   fill_rect (buffer, &roi, 0.5);
   print_buffer (buffer);
Index: tests/buffer/tests/test_gegl_buffer_iterator4sub.c
===================================================================
--- tests/buffer/tests/test_gegl_buffer_iterator4sub.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gegl_buffer_iterator4sub.c	2009-11-29 15:44:48.480553372 +0000
@@ -5,7 +5,7 @@
   GeglRectangle extent = {0,0,20,20};
   GeglRectangle sextent = {2,2,20,20};
   GeglRectangle roi = {1,1,10,10};
-  test_start();
+  test_start("test_gegl_buffer_iterator4sub");
   buffer = gegl_buffer_new (&extent, babl_format ("Y float"));
   sub = gegl_buffer_create_sub_buffer (buffer, &sextent);
   fill_rect (sub, &roi, 0.5);
Index: tests/buffer/tests/test_get_buffer_scaled.c
===================================================================
--- tests/buffer/tests/test_get_buffer_scaled.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_get_buffer_scaled.c	2009-11-29 15:44:57.692778925 +0000
@@ -5,7 +5,7 @@
   GeglRectangle  getrect = {0, 0, 12, 8};
   guchar        *buf;
 
-  test_start ();
+  test_start ("test_get_buffer_scaled");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y u8"));
   checkerboard (buffer, 2, 0.0, 1.0);
Index: tests/buffer/tests/test_get_buffer_scaled2.c
===================================================================
--- tests/buffer/tests/test_get_buffer_scaled2.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_get_buffer_scaled2.c	2009-11-29 15:46:53.905316681 +0000
@@ -5,7 +5,7 @@
   GeglRectangle  getrect = {-2, -2, 10, 10};
   guchar        *buf;
 
-  test_start ();
+  test_start ("test_get_buffer_scaled2");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y u8"));
   checkerboard (buffer, 2, 0.0, 1.0);
Index: tests/buffer/tests/test_gray.c
===================================================================
--- tests/buffer/tests/test_gray.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_gray.c	2009-11-29 15:45:11.188659034 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer;
   GeglRectangle  rect = {0, 0, 20, 20};
 
-  test_start ();
+  test_start ("test_gray");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   fill (buffer, 0.5);
Index: tests/buffer/tests/test_rectangle.c
===================================================================
--- tests/buffer/tests/test_rectangle.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_rectangle.c	2009-11-29 15:45:19.174494576 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer;
   GeglRectangle  rect = {0, 0, 20, 20};
 
-  test_start ();
+  test_start ("test_rectangle");
 
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   fill (buffer, 0.5);
Index: tests/buffer/tests/test_sample.c
===================================================================
--- tests/buffer/tests/test_sample.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/test_sample.c	2009-11-29 15:45:33.700733723 +0000
@@ -5,7 +5,7 @@
   GeglRectangle  subsubrect    = {3, 3, 14, 14};
   GeglRectangle  subsubsubrect = {5, 3, 2, 2};
   GeglRectangle  rect =       {0, 0, 20, 20};
-  test_start ();
+  test_start ("test_sample");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
 
   vgrad (buffer);
Index: tests/buffer/tests/vertical_gradient.c
===================================================================
--- tests/buffer/tests/vertical_gradient.c.orig	2009-04-17 17:15:11.000000000 +0000
+++ tests/buffer/tests/vertical_gradient.c	2009-11-29 15:45:41.307236843 +0000
@@ -3,7 +3,7 @@
   GeglBuffer    *buffer;
   GeglRectangle  rect = {0, 0, 20, 20};
 
-  test_start();
+  test_start("vertical_gradient");
   buffer = gegl_buffer_new (&rect, babl_format ("Y float"));
   vgrad (buffer);
   print_buffer (buffer);
_______________________________________________
Gegl-developer mailing list
Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer

[Index of Archives]     [Yosemite News]     [Yosemite Photos]     [gtk]     [GIMP Users]     [KDE]     [Gimp's Home]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux