diff mbox series

[XTF,benchmark,v1,1/4] categories: add benchmark

Message ID 20200323133701.21728-2-nmanthey@amazon.de (mailing list archive)
State New, archived
Headers show
Series XTF: add micro benchmarks | expand

Commit Message

Norbert Manthey March 23, 2020, 1:36 p.m. UTC
As XTF allows to write tests that interact with the hypervisor, we would like
to use this capability to implement micro benchmarks, so that we can measure
the performance impact of modifications to the hypervisor.

This change introduces a category benchmark, which can be used as
container for tests of this kind.

Signed-off-by: Norbert Manthey <nmanthey@amazon.de>

---
 build/common.mk | 2 +-
 xtf-runner      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/build/common.mk b/build/common.mk
--- a/build/common.mk
+++ b/build/common.mk
@@ -1,4 +1,4 @@ 
-ALL_CATEGORIES     := special functional xsa utility in-development
+ALL_CATEGORIES     := special functional xsa utility in-development benchmark
 
 ALL_ENVIRONMENTS   := pv64 pv32pae hvm64 hvm32pae hvm32pse hvm32
 
diff --git a/xtf-runner b/xtf-runner
--- a/xtf-runner
+++ b/xtf-runner
@@ -43,7 +43,7 @@  def exit_code(state):
 
 # All test categories
 default_categories     = set(("functional", "xsa"))
-non_default_categories = set(("special", "utility", "in-development"))
+non_default_categories = set(("special", "utility", "in-development", "benchmark"))
 all_categories         = default_categories | non_default_categories
 
 # All test environments