Skip to content

Add monitor tests to XTF

Petre Pircalabu xen-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 6 repliesSuperseded
  3. v14 patches 1 replySuperseded

Changes in v3 from the cover letter

- Check the returned value from xc_translate_foreign_address.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xtf-runner: split into logical componentsbuild/gen.mk build/mkinfo.py xtf-runner +7 more+687 -3210 replies
2/4xtf: Add executable test classxtf/__init__.py xtf/executable_test.py xtf/suite.py+88 -20 replies
3/4xtf: Add monitor test classMakefile build/common.mk build/files.mk +10 more+838 -120 replies
4/4xtf: Add monitor mem_access testdocs/all-tests.dox tests/monitor-mem-access/Makefile tests/monitor-mem-access/main.c +1 more+216 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH XTF v3 0/4] Add monitor tests to XTF

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

Changes from v2
- Check the returned value from xc_translate_foreign_address.

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 | 164 +++++++++++++
 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, 1826 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
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel