Files
xen/tools/xm-test/lib/XmTestReport/xmtest.py.in
T
dan@localhost.localdomain e198273e0e Add hping to the ramdisk. Also, do some very simple versioning.
This is the first change to the ramdisk since v0.1.0.  So, we now build
the image as initrd-X.Y.img, and link initrd.img to it.  This lets us
have a few checks to make sure that people rebuild their ramdisks when
necessary.
2005-11-18 13:00:13 +01:00

16 lines
380 B
Python

#!/usr/bin/python
XM_TEST_VERSION = "@PACKAGE_VERSION@"
if __name__ == "__main__":
import re
match = re.match("^(\d+)\.(\d+)\.(\d+)$", XM_TEST_VERSION)
print "XM_TEST_VERSION=%s" % XM_TEST_VERSION
if match:
print "XM_TEST_MAJ=%s" % match.group(1)
print "XM_TEST_MIN=%s" % match.group(2)
print "XM_TEST_REV=%s" % match.group(3)