Re: test_start() uses G_STRFUNC to determine function name

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

 



Albert Chin wrote:
> 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.

It seems like a reasonable workaround to an ugly problem to me. Could 
you provide your patches (the other two as well) in git format-patch format?

BR,
Martin



-- 

My GIMP Blog:
http://www.chromecode.com/
"Reducing UI clutter, docking bars removed"

_______________________________________________
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