From 9b0f5b7f6dd3372511f7bed08d170ce6aac5d57c Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Wed, 9 Jun 2010 21:32:29 +0300 Subject: [PATCH] kvm: Add 'check' target to Makefile This patch adds a 'check' target to Makefile that can be used to run some simple test cases. Signed-off-by: Pekka Enberg --- tools/kvm/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/kvm/Makefile b/tools/kvm/Makefile index 8113dcfe95bf..6096ac713a6b 100644 --- a/tools/kvm/Makefile +++ b/tools/kvm/Makefile @@ -77,6 +77,10 @@ bios/int10.o: bios/int10.S bios/int10-real.S $(Q) objcopy -O binary -j .text bios/int10-real.o bios/int10-real.bin $(Q) $(CC) $(CFLAGS) -c bios/int10.S -o bios/int10.o +check: $(PROGRAM) + $(MAKE) -C tests + ./$(PROGRAM) tests/pit/tick.bin +.PHONY: check clean: $(E) " CLEAN" -- 2.39.5