From: Mathieu Desnoyers Date: Sun, 4 Sep 2011 18:19:42 +0000 (-0400) Subject: Hook test glib hash on qsbr X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bb6c3d0272611fcd68e2ac336edeb965fcef797e;p=userspace-rcu.git Hook test glib hash on qsbr Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/Makefile.am b/tests/Makefile.am index c2813da..24f6639 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -181,8 +181,8 @@ test_urcu_hash_CFLAGS = -DRCU_QSBR $(AM_CFLAGS) test_urcu_hash_LDADD = $(URCU_QSBR_LIB) $(URCU_CDS_LIB) test_glib_hash_SOURCES = test_glib_hash.c $(COMPAT) -test_glib_hash_CFLAGS = -DRCU_MEMBARRIER $(AM_CFLAGS) -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -test_glib_hash_LDADD = $(URCU) $(URCU_CDS_LIB) -lglib-2.0 +test_glib_hash_CFLAGS = -DRCU_QSBR $(AM_CFLAGS) -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +test_glib_hash_LDADD = $(URCU_QSBR_LIB) $(URCU_CDS_LIB) -lglib-2.0 urcutorture.c: api.h diff --git a/tests/test_glib_hash.c b/tests/test_glib_hash.c index 3043557..80579f7 100644 --- a/tests/test_glib_hash.c +++ b/tests/test_glib_hash.c @@ -67,7 +67,7 @@ static inline pid_t gettid(void) #else #define debug_yield_read() #endif -#include +#include #include struct wr_count {