Просмотр исходного кода

Add checkpoint reader and writer to test synchronization

(Logical change 1.147)


git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@522 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 21 лет назад
Родитель
Сommit
bcf4b26c0f
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      test/Makefile

+ 8 - 1
test/Makefile

@@ -58,7 +58,8 @@ TEST_SRC =  testclm.c testamf.c testamf1.c testamf2.c testamf3.c \
 
 all: testclm testamf testamf1 testamf2 testamf3 testamf4 testamf5 \
 	testamf6 testamfth testckpt ckptstress testparse ckptbench \
-	ckptbenchth testevt testevs evsbench subscription publish evtbench
+	ckptbenchth ckpt-rd ckpt-wr testevt testevs \
+	evsbench subscription publish evtbench
 
 testparse: testparse.o $(LIBRARIES)
 	$(CC) $(LDFLAGS) -o testparse testparse.o ../exec/parse.o ../exec/print.o ../exec/mempool.o ../exec/util.o
@@ -126,6 +127,12 @@ evtbench: evtbench.o sa_error.o $(LIBRARIES)
 test: test.o $(LIBRARIES)
 	g++ $(LDFLAGS) -o test test.o $(LIBS)
 
+ckpt-rd: ckpt-rd.o sa_error.o $(LIBRARIES)
+	$(CC) $(LDFLAGS) -o ckpt-rd ckpt-rd.o sa_error.o $(LIBS)
+
+ckpt-wr: ckpt-wr.o sa_error.o $(LIBRARIES)
+	$(CC) $(LDFLAGS) -o ckpt-wr ckpt-wr.o sa_error.o $(LIBS)
+
 clean:
 	rm -f *.o testclm testamf testamf1 testamf2 testamf3 testamf4 \
 	testamf5 testamf6 testamfth testckpt ckptstress testparse testtimer \