[kvm-unit-tests PATCH v4 00/13] Improve the output of test runners

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

 



v3: http://www.spinics.net/lists/kvm/msg130911.html

Changes are described in each changed patch.

The output differs a bit from v3, because SKIP when QEMU didn't have a
chance to run the test now prints the last line of stdout + stderr in
summary.

  PASS apic (14 tests)
  PASS emulator (131 tests, 1 skipped)
  PASS pmu (67 tests, 1 expected failures)
  SKIP svm (0 tests)
  SKIP taskswitch (i386 only)
  PASS kvmclock_test 
  SKIP hyperv_synic (qemu-kvm: Property '.hv-synic' not found)


Radim Krčmář (13):
  lib/report: allow test skipping
  x86/*: report skipped tests
  x86/unittests: remove svm-disabled
  lib/string: add strncmp
  lib/util: add args_parse_keyval
  x86/pmu: expect failure with nmi_watchdog
  lib/report: don't print 0 failed tests
  scripts/runtime: consolidate summary tags
  run_tests: print SUMMARY line in summary
  run_tests: log stderr
  scripts/runtime: skip tests that cannot run
  scripts/arch-run: change QEMU failure detection
  scripts/run: generalize check

 arm/run                 |  2 +-
 lib/libcflat.h          |  1 +
 lib/report.c            | 49 ++++++++++++++++++++++++-----------
 lib/string.c            | 17 ++++++++-----
 lib/string.h            |  1 +
 lib/util.c              | 17 +++++++++++++
 lib/util.h              | 10 ++++++++
 powerpc/run             |  2 +-
 run_tests.sh            | 15 ++++++-----
 scripts/arch-run.bash   |  2 +-
 scripts/mkstandalone.sh |  4 +++
 scripts/runtime.bash    | 68 ++++++++++++++++++++++++++++++++++++-------------
 x86/Makefile.common     |  1 +
 x86/apic.c              |  7 +++--
 x86/emulator.c          |  2 +-
 x86/hyperv_synic.c      |  2 +-
 x86/pku.c               |  2 +-
 x86/pmu.c               |  8 ++++--
 x86/smap.c              |  2 +-
 x86/svm.c               |  2 +-
 x86/tsc.c               |  2 +-
 x86/unittests.cfg       |  9 +------
 22 files changed, 156 insertions(+), 69 deletions(-)

-- 
2.8.2

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux