qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v8 4/5] coroutine: add test-coroutine automated


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH v8 4/5] coroutine: add test-coroutine automated tests
Date: Tue, 02 Aug 2011 15:43:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0

Am 26.07.2011 11:21, schrieb Stefan Hajnoczi:
> To run automated tests for coroutines:
> 
>   make test-coroutine
>   ./test-coroutine
> 
> On success the program terminates with exit status 0.  On failure an
> error message is written to stderr and the program exits with exit
> status 1.
> 
> Signed-off-by: Stefan Hajnoczi <address@hidden>

Adding this build fix in the block branch:

diff --git a/Makefile b/Makefile
index fdd620c..2becedc 100644
--- a/Makefile
+++ b/Makefile
@@ -161,7 +161,7 @@ check-qdict: check-qdict.o qdict.o qfloat.o qint.o
qstring.o qbool.o qlist.o $(C
 check-qlist: check-qlist.o qlist.o qint.o $(CHECK_PROG_DEPS)
 check-qfloat: check-qfloat.o qfloat.o $(CHECK_PROG_DEPS)
 check-qjson: check-qjson.o qfloat.o qint.o qdict.o qstring.o qlist.o
qbool.o qjson.o json-streamer.o json-lexer.o json-parser.o error.o
qerror.o qemu-error.o $(CHECK_PROG_DEPS)
-test-coroutine: test-coroutine.o qemu-timer-common.o $(coroutine-obj-y)
$(CHECK_PROG_DEPS)
+test-coroutine: test-coroutine.o qemu-timer-common.o async.o
$(coroutine-obj-y) $(CHECK_PROG_DEPS)

$(qapi-obj-y): $(GENERATED_HEADERS)
qapi-dir := qapi-generated



reply via email to

[Prev in Thread] Current Thread [Next in Thread]