tests/test-int128: Don't use noclone attribute on clang
clang doesn't support the noclone attribute and emits a warning aboutit. Fortunately clang also implements a mechanism for asking if a particularattribute is implemented; use it. We assume that if the compiler doesn't...
Merge remote-tracking branch 'remotes/xtensa/tags/20140224-xtensa' into staging
Xtensa fixes and improvements queue 2014-02-24:- add support for ML605 and KC705 FPGA boards;- flush opencores_eth queue when new RX descriptor is available;- add basic checks to cache opcodes;...
target-xtensa: add basic tests for cache opcodes
Test that non-locking prefetch operations don't cause exceptions onmissing TLB and that other 'hit' cache operations do.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
target-xtensa: add overridable test_init macro
Some test suites, like MMU, need per-test initialization. Don't make themredefine test macro, add test_init for that purpose.
target-xtensa: allow using core configuration in tests
Add path to the core configuration directory to test build command andreplace .include asm directive with #include to enable preprocessing.
iotests: Mixed quorum child device specifications
Add a test case to test 081 for mixing full option dicts and referencestrings of specifying the quorum child block devices through QMP.
Signed-off-by: Max Reitz <mreitz@redhat.com>Reviewed-by: Benoit Canet <benoit@irqsave.net>...
quorum: Add unit test.
Signed-off-by: Benoit Canet <benoit@irqsave.net>Reviewed-by: Max Reitz <mreitz@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
check-qdict: Test termination of qdict_array_split()
qdict_array_split() should terminate if it encounters both an entry witha key of "%u" and entries with keys prefixed "%u." for the same index.
This patch adds a test for this case.
Signed-off-by: Max Reitz <mreitz@redhat.com>...
check-qdict: Adjust test for qdict_array_split()
Test the new functionality of qdict_array_split(), that is, splittingoff single objects.
Signed-off-by: Max Reitz <mreitz@redhat.com>Reviewed-by: Eric Blake <eblake@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-iotests: Check qemu-img command line parsing
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Reviewed-by: Jeff Cody <jcody@redhat.com>Reviewed-by: Eric Blake <eblake@redhat.com>
View revisions
Also available in: Atom