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

[Xen-devel] [PATCH XTF v2 0/4] Add monitor tests to XTF



Extend the framework to support (simple) monitor related tests.

Changes from v1:
- Refactored the monitor test (cleanup)
- Replace the "emul-unimplemented" test with a simpler mem_access test


Petre Pircalabu (4):
  xtf-runner: split into logical components
  xtf: Add executable test class
  xtf: Add monitor test class
  xtf: Add monitor mem_access test

 Makefile                           |   6 +-
 build/common.mk                    |  22 +-
 build/files.mk                     |   3 +
 build/gen.mk                       |  25 +-
 build/mkinfo.py                    |  84 +++++--
 common/report.c                    |   8 -
 docs/all-tests.dox                 |   4 +
 include/monitor/monitor.h          | 136 +++++++++++
 include/xtf/report.h               |   8 +
 monitor/Makefile                   |  20 ++
 monitor/monitor.c                  | 481 +++++++++++++++++++++++++++++++++++++
 tests/monitor-mem-access/Makefile  |  14 ++
 tests/monitor-mem-access/main.c    |  37 +++
 tests/monitor-mem-access/monitor.c | 159 ++++++++++++
 xtf-runner                         | 334 +++----------------------
 xtf/__init__.py                    |  12 +
 xtf/domu_test.py                   | 179 ++++++++++++++
 xtf/exceptions.py                  |   6 +
 xtf/executable_test.py             |  83 +++++++
 xtf/logger.py                      |  23 ++
 xtf/monitor_test.py                | 132 ++++++++++
 xtf/suite.py                       | 100 ++++++++
 xtf/test.py                        | 139 +++++++++++
 xtf/utils.py                       |  17 ++
 xtf/xl_domu.py                     | 121 ++++++++++
 25 files changed, 1821 insertions(+), 332 deletions(-)
 create mode 100644 include/monitor/monitor.h
 create mode 100644 monitor/Makefile
 create mode 100644 monitor/monitor.c
 create mode 100644 tests/monitor-mem-access/Makefile
 create mode 100644 tests/monitor-mem-access/main.c
 create mode 100644 tests/monitor-mem-access/monitor.c
 create mode 100644 xtf/__init__.py
 create mode 100644 xtf/domu_test.py
 create mode 100644 xtf/exceptions.py
 create mode 100644 xtf/executable_test.py
 create mode 100644 xtf/logger.py
 create mode 100644 xtf/monitor_test.py
 create mode 100644 xtf/suite.py
 create mode 100644 xtf/test.py
 create mode 100644 xtf/utils.py
 create mode 100644 xtf/xl_domu.py

-- 
2.7.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.