mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
glib/tests/atomic: convert to proper gtester test
This commit is contained in:
parent
6c1d768f7b
commit
f5e8694782
@ -1,7 +1,7 @@
|
||||
#include <glib.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
static void
|
||||
test_types (void)
|
||||
{
|
||||
guint u, u2;
|
||||
gint s, s2;
|
||||
@ -187,3 +187,13 @@ main (void)
|
||||
|
||||
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 ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user