Hook test glib hash on qsbr
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 4 Sep 2011 18:19:42 +0000 (14:19 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 4 Sep 2011 18:19:42 +0000 (14:19 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/Makefile.am
tests/test_glib_hash.c

index c2813da6af49af1423f3d7bc62ad2493ddb0cca5..24f6639d8707fb54abc5f7f6efcec1d53c218a15 100644 (file)
@@ -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
 
index 3043557aba96fe8644f567091fece942ac15bc20..80579f76e6b9f065b6d0ed1e52aded4a6dcec6c0 100644 (file)
@@ -67,7 +67,7 @@ static inline pid_t gettid(void)
 #else
 #define debug_yield_read()
 #endif
-#include <urcu.h>
+#include <urcu-qsbr.h>
 #include <urcu-call-rcu.h>
 
 struct wr_count {
This page took 0.02685 seconds and 4 git commands to generate.