summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackie Liu <liuyun01@kylinos.cn>2019-11-20 11:14:22 +0800
committerJens Axboe <axboe@kernel.dk>2019-11-19 20:35:57 -0700
commit2e7d74490387c62eb2f20e536acb9f5ab761d1aa (patch)
tree64996a0d9574fe057aa7fdb8271e12884391c5e3
parent6a273eaa1ab5964efc632d4bb5ace150220275d0 (diff)
downloadliburing-2e7d74490387c62eb2f20e536acb9f5ab761d1aa.tar.gz
liburing-2e7d74490387c62eb2f20e536acb9f5ab761d1aa.tar.bz2
built liburing.so and test binary first when runtests
Signed-off-by: Jackie Liu <liuyun01@kylinos.cn> Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r--Makefile2
-rw-r--r--test/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8af1c3a..9e13218 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ all:
@$(MAKE) -C test
@$(MAKE) -C examples
-runtests:
+runtests: all
@$(MAKE) -C test runtests
runtests-loop:
@$(MAKE) -C test runtests-loop
diff --git a/test/Makefile b/test/Makefile
index 97e88ea..60ae08f 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -41,7 +41,7 @@ accept-link: XCFLAGS = -lpthread
clean:
rm -f $(all_targets) $(test_objs)
-runtests:
+runtests: all
@./runtests.sh $(all_targets)
-runtests-loop:
+runtests-loop: all
@./runtests-loop.sh $(all_targets)