glib/tests/atomic: convert to proper gtester test

This commit is contained in:
Ryan Lortie 2011-10-16 19:01:55 -04:00
parent 6c1d768f7b
commit f5e8694782

View File

@ -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 ();
}