mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
glib/tests/include: port to gtester
https://bugzilla.gnome.org/show_bug.cgi?id=711796
This commit is contained in:
parent
a9d93ca1df
commit
f733075cd1
@ -6,13 +6,21 @@
|
||||
#include <pthread.h>
|
||||
#include <glib.h>
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
static void
|
||||
test_rwlock (void)
|
||||
{
|
||||
GRWLock lock;
|
||||
|
||||
g_rw_lock_init (&lock);
|
||||
g_rw_lock_clear (&lock);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
g_test_init (&argc, &argv, NULL);
|
||||
|
||||
g_test_add_func ("/include/rwlock", test_rwlock);
|
||||
|
||||
return g_test_run ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user