mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-13 21:06:17 +01:00
Merge branch '1446-g_test_init-docs' into 'master'
gtestutils: Mention G_DISABLE_ASSERT in documentation for g_test_init() Closes #1446 See merge request GNOME/glib!212
This commit is contained in:
commit
0498b43489
@ -1284,6 +1284,12 @@ parse_args (gint *argc_p,
|
|||||||
*
|
*
|
||||||
* - `--debug-log`: Debug test logging output.
|
* - `--debug-log`: Debug test logging output.
|
||||||
*
|
*
|
||||||
|
* Since 2.58, if tests are compiled with `G_DISABLE_ASSERT` defined,
|
||||||
|
* g_test_init() will print an error and exit. This is to prevent no-op tests
|
||||||
|
* from being executed, as g_assert() is commonly (erroneously) used in unit
|
||||||
|
* tests, and is a no-op when compiled with `G_DISABLE_ASSERT`. Ensure your
|
||||||
|
* tests are compiled without `G_DISABLE_ASSERT` defined.
|
||||||
|
*
|
||||||
* Since: 2.16
|
* Since: 2.16
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user