[PATCH liburing 3/3] built liburing.so and test binary first when runtests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Jackie Liu <liuyun01@xxxxxxxxxx>
---
 Makefile      | 2 +-
 test/Makefile | 4 ++--
 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)
-- 
2.17.1






[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux