projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1d768
)
glib/tests/atomic: convert to proper gtester test
author
Ryan Lortie
<desrt@desrt.ca>
Sun, 16 Oct 2011 23:01:55 +0000
(19:01 -0400)
committer
Ryan Lortie
<desrt@desrt.ca>
Sun, 16 Oct 2011 23:01:55 +0000
(19:01 -0400)
glib/tests/atomic.c
patch
|
blob
|
history
diff --git
a/glib/tests/atomic.c
b/glib/tests/atomic.c
index
52d429c
..
abacb6c
100644
(file)
--- a/
glib/tests/atomic.c
+++ b/
glib/tests/atomic.c
@@
-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 ();
+}