tests: fix client test order
authorMichael Wallner <mike@php.net>
Tue, 14 Jan 2020 14:57:06 +0000 (15:57 +0100)
committerMichael Wallner <mike@php.net>
Tue, 14 Jan 2020 14:57:06 +0000 (15:57 +0100)
clients/include.am
clients/memcat.sh
clients/memexist.sh
clients/memrm.sh
clients/memtouch.sh

index b6b2fd50544714c0b2daa308c018091e318e9100..c3e0fabea83511d122218be94f377d67382adcea 100644 (file)
@@ -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
index ac057907e7ef6afeb15ecebb9daa3d9c63fb6bc4..e7497de0999f089deb7384b6207af3c64b9e1fe7 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/sh
+clients/memcp.sh
 clients/memcat --servers=localhost -v mem.testdata
index 5aa0287f0f4634d4edf8eeefbaababd9e3418bb3..aa8a2fed2117851b1fddca9ff01ea82fd5cb12f6 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/bash
+clients/memcp.sh
 clients/memexist -v --servers localhost mem.testdata
index 5b170d6eec1d4a1c404265c733184139dd1299c6..4818d4d238bd0ead612f77699e7b9b75fed76d2c 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/sh
+clients/memcp.sh
 clients/memrm -v --servers localhost mem.testdata
index 2d5ccc06f6226cb5f6692416d9aa98790525a3e0..36531d53f1042b8dc1e1df9394a262a69ded2608 100755 (executable)
@@ -1,2 +1,3 @@
 #!/bin/sh
+clients/memcp.sh
 clients/memtouch -v --servers localhost mem.testdata