: QMP queue
Anthony,
The following patches have been sent to the list and look good to me. I've also tested them.
The changes (since 344eecf6995f4a0ad1d887cec922f6806f91a3f8) are available in the following repository:
git://repo.or.cz/qemu/qmp-unstable.git queue/qmp
Jan Kiszka (1):
Fix qjson test of solidus encoding
Luiz Capitulino (1):
configure: Copy test data to build directory
check-qjson.c | 3 ++- configure | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)
PATCH 1/2 configure: Copy test data to build directory
The QDict unit-tests (check-qdict) will fail when ran on a different build directory. That's, it only works when ran on the source dir.
This happens because its data file (qdict-test-data.txt) is not copied to the build dir. Fix it.
--- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
configure +1 -1
@@ -3614,7 +3614,7 @@ DIRS="$DIRS roms/seabios roms/vgabios" DIRS="$DIRS fsdev ui" DIRS="$DIRS qapi" DIRS="$DIRS qga trace" -FILES="Makefile tests/Makefile" +FILES="Makefile tests/Makefile qdict-test-data.txt" FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit" FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps" FILES="$FILES pc-bios/spapr-rtas/Makefile"
Signature · 1 line
1.7.7.rc0.72.g4b5ea
PATCH 2/2 Fix qjson test of solidus encoding
In reply to Luiz CapitulinoFrom: Jan Kiszka <[email protected]>
"\/" is supposed to be decoded as "/", but there is no need to encode "/" via escape. Fix the existing test and add a second one expressing this.
--- check-qjson.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
check-qjson.c +2 -1
@@ -33,7 +33,8 @@ START_TEST(escaped_string) { "\"\\n\"", "\n" }, { "\"\\r\"", "\r" }, { "\"\\t\"", "\t" }, - { "\"\\/\"", "\\/" }, + { "\"/\"", "/" }, + { "\"\\/\"", "/", .skip = 1 }, { "\"\\\\\"", "\\" }, { "\"\\\"\"", "\"" }, { "\"hello world \\\"embedded string\\\"\"",
Signature · 1 line
1.7.7.rc0.72.g4b5ea
Quoted 4 lines · Luiz Capitulino
Anthony,
The following patches have been sent to the list and look good to me. I've also tested them.
Pulled. Thanks.
Regards,
Anthony Liguori
Quoted 18 lines
The changes (since
344eecf6995f4a0ad1d887cec922f6806f91a3f8) are available in the following repository:
git://repo.or.cz/qemu/qmp-unstable.gitqueue/qmpJan Kiszka (1):
Fix qjson test of solidus encodingLuiz Capitulino (1):
configure: Copy test data to build directorycheck-qjson.c | 3 ++- configure | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-)