From 585b2385384b32af964b5f2f999e70173b33a460 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 14 Jan 2020 15:57:06 +0100 Subject: [PATCH] tests: fix client test order --- clients/include.am | 7 ++++--- clients/memcat.sh | 1 + clients/memexist.sh | 1 + clients/memrm.sh | 1 + clients/memtouch.sh | 1 + 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/clients/include.am b/clients/include.am index b6b2fd50..c3e0fabe 100644 --- a/clients/include.am +++ b/clients/include.am @@ -104,12 +104,13 @@ clients_memcapable_SOURCES+= libmemcached/byteorder.cc clients_memcapable_LDADD= $(CLIENTS_LDADDS) clients_memcapable_LDADD+= @PTHREAD_LIBS@ +$(TESTS): | mem.testdata +mem.testdata: + date > $@ + TESTS += clients/memcapable.sh TESTS += clients/memcp.sh TESTS += clients/memcat.sh -clients/memcat.sh: | mem.testdata -mem.testdata: - date > $@ TESTS += clients/memdump.sh TESTS += clients/memerror.sh TESTS += clients/memexist.sh diff --git a/clients/memcat.sh b/clients/memcat.sh index ac057907..e7497de0 100755 --- a/clients/memcat.sh +++ b/clients/memcat.sh @@ -1,2 +1,3 @@ #!/bin/sh +clients/memcp.sh clients/memcat --servers=localhost -v mem.testdata diff --git a/clients/memexist.sh b/clients/memexist.sh index 5aa0287f..aa8a2fed 100755 --- a/clients/memexist.sh +++ b/clients/memexist.sh @@ -1,2 +1,3 @@ #!/bin/bash +clients/memcp.sh clients/memexist -v --servers localhost mem.testdata diff --git a/clients/memrm.sh b/clients/memrm.sh index 5b170d6e..4818d4d2 100755 --- a/clients/memrm.sh +++ b/clients/memrm.sh @@ -1,2 +1,3 @@ #!/bin/sh +clients/memcp.sh clients/memrm -v --servers localhost mem.testdata diff --git a/clients/memtouch.sh b/clients/memtouch.sh index 2d5ccc06..36531d53 100755 --- a/clients/memtouch.sh +++ b/clients/memtouch.sh @@ -1,2 +1,3 @@ #!/bin/sh +clients/memcp.sh clients/memtouch -v --servers localhost mem.testdata -- 2.30.2