Replies: 4 comments 1 reply
-
I remember reading about libeverything (maybe on GObject Introspection docs), but as I found absolutely no documentation about it, so was easier to just port the the patch that I already had done for https://github.com/jhass/crystal-gobject and use it in gi-crystal. Is the code for this library auto generated? I tried to find things like "where test_boolean is defined in C?" and wasn't able to find using Gitlab project search. |
Beta Was this translation helpful? Give feedback.
-
I found where I saw about this https://gi.readthedocs.io/en/latest/writingbindings/guidelines.html Probably at the time it was already renamed to regress but the text still nowadays mentioning I think we can start using then for new tests and slowly replacing tests using things in So, to use libregrex we would need to copy regress.[ch] to the repository and tell the linter to forget about these files, since they use a different formatting. |
Beta Was this translation helpful? Give feedback.
-
I created a MR to help future people to not repeat my mistake |
Beta Was this translation helpful? Give feedback.
-
I changed my mind about this, IIRC libregress depends on cairo for some stuff it tests (under a |
Beta Was this translation helpful? Give feedback.
-
I think it may be a good idea to test this library against libregress (previously libeverything).
PyGObject example: https://gitlab.gnome.org/GNOME/pygobject/-/blob/master/tests/test_everything.py
Beta Was this translation helpful? Give feedback.
All reactions