test: remove qemu-ga reference
authorMichael Roth <mdroth@linux.vnet.ibm.com>
Wed, 21 Mar 2012 15:10:46 +0000 (10:10 -0500)
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 26 Mar 2012 10:28:37 +0000 (11:28 +0100)
This was added by mistake a while back.

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Makefile
tests/Makefile

index 8d6b558b831402844088561876e0d77680001f4a..d8e1f362296863a65fb09c49324d6d02cea9be3b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -173,6 +173,7 @@ qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
 $(qapi-obj-y): $(GENERATED_HEADERS)
 qapi-dir := $(BUILD_DIR)/qapi-generated
 qemu-ga$(EXESUF): LIBS = $(LIBS_QGA)
+qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
 
 gen-out-type = $(subst .,-,$(suffix $@))
 
index c78ade122e4ba13bb9fd4181bc10277a5c89447f..354fdbb7f51e8f32e2b15fe38018bd95798ba16c 100644 (file)
@@ -17,7 +17,7 @@ test-coroutine: test-coroutine.o qemu-timer-common.o async.o $(coroutine-obj-y)
 
 test-qmp-input-visitor.o test-qmp-output-visitor.o \
 test-string-input-visitor.o test-string-output-visitor.o \
-       test-qmp-commands.o qemu-ga$(EXESUF): QEMU_CFLAGS += -I $(qapi-dir)
+       test-qmp-commands.o: QEMU_CFLAGS += -I $(qapi-dir)
 
 $(qapi-dir)/test-qapi-types.c $(qapi-dir)/test-qapi-types.h :\
 $(SRC_PATH)/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-types.py