From 68f406436cc21853ff854c514353e7eb607cb6cb Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Tue, 29 Oct 2019 17:22:04 -0500 Subject: [PATCH] Build tests by default While it's not feasible to run all of our tests by default during the build, we should be able to at least make sure the tests can build. So, make the default build targets also build our tests, by making the 'finale' target build the tests. Change-Id: Ieadd48ba2774526de8a13136e6cc8a50434ed2f5 Reviewed-on: https://gerrit.openafs.org/13941 Tested-by: Andrew Deason Reviewed-by: Benjamin Kaduk --- Makefile.in | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 12903ae..1193a4f 100644 --- a/Makefile.in +++ b/Makefile.in @@ -633,7 +633,7 @@ jafsadm: libjafsadm build_tools: config comerr rxgen +${COMPILE_PART1} util ${COMPILE_PART2A} buildtools_clean -finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \ +finale_notest: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \ libuafs audit kauth log ptserver tptserver scout bu_utils ubik uss \ bozo @VFSCK@ volser tvolser tsalvaged dviced dvolser libafscp \ venus venustests update xstat afsmonitor rxdebug libafsrpc rfc3961 \ @@ -641,7 +641,7 @@ finale: project cmd comerr afsd butc tbutc tbudb @ENABLE_KERNEL_MODULE@ \ authtools $(DIR_roken) rxgk +${COMPILE_PART1} finale ${COMPILE_PART2} -finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \ +finale_nolibafs_notest: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \ log ptserver tptserver scout bu_utils ubik tubik uss bozo @VFSCK@ \ volser tvolser tsalvaged dviced dvolser libafscp venus venustests \ update xstat afsmonitor rxdebug libafsrpc rfc3961 hcrypto \ @@ -652,7 +652,17 @@ finale_nolibafs: project cmd comerr afsd butc tbutc tbudb libuafs audit kauth \ rpctestlib: util fsint rx opr libafsrpc libafsauthent +${TEST_PART1} rpctestlib ${COMPILE_PART2} -check test: finale +finale: finale_notest test_build + +finale_nolibafs: finale_nolibafs_notest test_build_nolibafs + +test_build: finale_notest + cd tests && $(MAKE) + +test_build_nolibafs: finale_nolibafs_notest + cd tests && $(MAKE) + +check test: finale_notest cd tests && $(MAKE) check force: -- 1.9.4