From bb6c3d0272611fcd68e2ac336edeb965fcef797e Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Sun, 4 Sep 2011 14:19:42 -0400 Subject: [PATCH] Hook test glib hash on qsbr Signed-off-by: Mathieu Desnoyers --- tests/Makefile.am | 4 ++-- tests/test_glib_hash.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 { -- 2.34.1