[Libvirt-cim] [PATCH] [TEST] Retrieve revision and changeset string

Dan Smith danms at us.ibm.com
Wed Apr 16 15:19:50 UTC 2008


ZL> # HG changeset patch
ZL> # User Zhengang Li <lizg at cn.ibm.com>
ZL> # Date 1208344854 -28800
ZL> # Node ID 5d2e26fe8b594894946b95598aac5c43a6d3f0d0
ZL> # Parent  e54b31ce89af19ca0d4c40ce4b097685e34aa2c7
ZL> [TEST] Retrieve revision and changeset string

ZL> The two properties can be accessed in test cases as
ZL> 'main.revision', 'main.changeset'

This is a fine way to do this, but I'm curious: how will it impact the
performance of the test suite?  If we do this before every test, will
it make the suite take a measurable amount of additional time to run?

These values won't change during a single run, so I had envisioned
this being fetched once at the beginning and passed to each test
case.  That may not be feasible with the current architecture, so I
have no real complaint here, I'm just wondering.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080416/c191108b/attachment.sig>


More information about the Libvirt-cim mailing list