diff options
| author | Eduardo Habkost | 2012-07-18 19:22:27 +0200 |
|---|---|---|
| committer | Blue Swirl | 2012-07-28 11:13:49 +0200 |
| commit | 14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9 (patch) | |
| tree | 25b33debe5adda84dff7a52ec79d63bb1a726efe /tests | |
| parent | vl.c: Don't print errno after failed qemu_chr_new() (diff) | |
| download | qemu-14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9.tar.gz qemu-14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9.tar.xz qemu-14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9.zip | |
tests: Makefile: include dependency files
Otherwise 'make check' won't recompile files that need to be recompiled
because of header changes.
To reproduce the bug, run:
$ make check # succeeds
$ echo B0RKED > hw/mc146818rtc_regs.h
$ make check # is supposed to try to rebuild tests/rtc-test.o and fail
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile index 9675ba7c13..f3f4159c25 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -147,3 +147,5 @@ check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-unit: $(patsubst %,check-%, $(check-unit-y)) check-block: $(patsubst %,check-%, $(check-block-y)) check: check-unit check-qtest + +-include $(wildcard tests/*.d) |
