From: Ian Campbell Subject: Re: [PATCH] Tools: build tests Date: Wed, 1 Feb 2012 09:48:05 +0000 Message-ID: <1328089685.17444.15.camel@zakaz.uk.xensource.com> References: <7d62108a8936266c8f80.1327699262@xdev.gridcentric.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7d62108a8936266c8f80.1327699262@xdev.gridcentric.ca> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Andres Lagar-Cavilla Cc: "andres@gridcentric.ca" , "xen-devel@lists.xensource.com" , Ian Jackson , "adin@gridcentric.ca" List-Id: xen-devel@lists.xenproject.org On Fri, 2012-01-27 at 21:21 +0000, Andres Lagar-Cavilla wrote: > Config.mk | 1 + > tools/Makefile | 1 + > tools/tests/Makefile | 20 ++++++++++++++++++++ > 3 files changed, 22 insertions(+), 0 deletions(-) > > > Build tests as part of the tools build. > > It is enabled with CONFIG_TESTS in Config.mk > > Currently disabled build of tests/regressions and tests/xen-access (in 32 bit > mode) as they fail. > > Signed-off-by: Andres Lagar-Cavilla Ack on the idea but the actual implementation fails for me: make[1]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools' make -C tests install make[2]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/tests' make[3]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/tests' make -C mce-test install make[4]: Entering directory `/local/scratch/ianc/devel/xen-unstable.hg/tools/tests/mce-test' make[4]: *** No rule to make target `install'. Stop. Grep seems to suggest that most of the tools/tests dirs are missing an install target, mce-test just happens to be first. I'm not sure if it makes sense to install any of these test things? Depending on the answer we could either hobble the install target in tools/tests/Makefile or add an install target to tools/tests/*/Makefile which is a nop or an actual install target as appropriate. Ian.