Message ID | 20151123160947.GE4742@noname.str.redhat.com |
---|---|
State | New |
Headers | show |
On 23/11/2015 17:09, Kevin Wolf wrote: > Am 23.11.2015 um 15:46 hat Paolo Bonzini geschrieben: >> On 23/11/2015 13:39, Kevin Wolf wrote: >>> tests/test-timed-average$(EXESUF): tests/test-timed-average.o qemu-timer.o \ >>> libqemuutil.a stubs/clock-warp.o stubs/cpu-get-icount.o \ >>> - stubs/notify-event.o stubs/replay.o >>> + stubs/notify-event.o stubs/replay.o stubs/mon-is-qmp.o stubs/fd-register.o \ >>> + stubs/mon-printf.o >>> >> >> Why not just add libqemustub.a? (If it works, do not even bother >> reposting). > > Didn't remember that that's a thing and didn't check because the rule > already pulled in a few stubs manually. I'll go with the version below > then. (And given that you only gave an R-b, I guess I should take this > through my tree?) Yes please, they are block layer tests. Paolo > Kevin > > > diff --git a/tests/Makefile b/tests/Makefile > index b937984..0ef00a1 100644 > --- a/tests/Makefile > +++ b/tests/Makefile > @@ -415,8 +415,7 @@ tests/test-vmstate$(EXESUF): tests/test-vmstate.o \ > migration/qemu-file-unix.o qjson.o \ > $(test-qom-obj-y) > tests/test-timed-average$(EXESUF): tests/test-timed-average.o qemu-timer.o \ > - libqemuutil.a stubs/clock-warp.o stubs/cpu-get-icount.o \ > - stubs/notify-event.o stubs/replay.o > + $(test-util-obj-y) > > tests/test-qapi-types.c tests/test-qapi-types.h :\ > $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-types.py $(qapi-py) >
diff --git a/tests/Makefile b/tests/Makefile index b937984..0ef00a1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -415,8 +415,7 @@ tests/test-vmstate$(EXESUF): tests/test-vmstate.o \ migration/qemu-file-unix.o qjson.o \ $(test-qom-obj-y) tests/test-timed-average$(EXESUF): tests/test-timed-average.o qemu-timer.o \ - libqemuutil.a stubs/clock-warp.o stubs/cpu-get-icount.o \ - stubs/notify-event.o stubs/replay.o + $(test-util-obj-y) tests/test-qapi-types.c tests/test-qapi-types.h :\ $(SRC_PATH)/tests/qapi-schema/qapi-schema-test.json $(SRC_PATH)/scripts/qapi-types.py $(qapi-py)