Skip to contentSkip to conversation

qemu-kvm unittests: Small makefile fix

PATCH Applied Lucas Meneghel Rodrigues 2 participants 2 messages Jul 1, 2010 – Jul 2, 2010 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-kvm unittests: Small makefile fix

Turns out $(tests-common) does not encompass all flat files built for the unittests. So let's fix the makefile install rule to include all flat files generated by the make procedure.

---
 kvm/test/config-x86-common.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kvm/test/config-x86-common.mak +1 -1
index 689e6b4..3ac53a5 100644
@@ -27,7 +27,7 @@ tests-common = $(TEST_DIR)/vmexit.flat $(TEST_DIR)/tsc.flat \
                $(TEST_DIR)/realmode.flat $(TEST_DIR)/msr.flat \
                $(TEST_DIR)/hypercall.flat $(TEST_DIR)/sieve.flat
 
-tests_and_config = $(tests-common) $(TEST_DIR)/unittests.cfg
+tests_and_config = $(TEST_DIR)/*.flat $(TEST_DIR)/unittests.cfg
 
 test_cases: $(tests-common) $(tests)
 
Signature · 1 line
1.7.0.1
#1 lore raw
Quoted 9 lines · Lucas Meneghel Rodrigues

Turns out $(tests-common) does not encompass all flat files built for the unittests. So let's fix the makefile install rule to include all flat files generated by the make procedure.

---
 kvm/test/config-x86-common.mak |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.