#!/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)
        
