mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-21 08:28:53 +02:00
glib/tests/atomic: convert to proper gtester test
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
int
|
static void
|
||||||
main (void)
|
test_types (void)
|
||||||
{
|
{
|
||||||
guint u, u2;
|
guint u, u2;
|
||||||
gint s, s2;
|
gint s, s2;
|
||||||
@@ -187,3 +187,13 @@ main (void)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int
|
||||||
|
main (int argc, char **argv)
|
||||||
|
{
|
||||||
|
g_test_init (&argc, &argv, NULL);
|
||||||
|
|
||||||
|
g_test_add_func ("/atomic/types", test_types);
|
||||||
|
|
||||||
|
return g_test_run ();
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user