summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthew.hodgins <matthew.hodgins@calxeda.com>2013-08-27 13:22:59 -0500
committermatthew.hodgins <matthew.hodgins@calxeda.com>2013-08-27 13:22:59 -0500
commitead8c0a583636004ff0fc468c649d882a4ec6dc1 (patch)
treef07bc6be344e15e83cd602aa8109c51894e66fc0
parenta87fba11df888c09abf48caeab06ca79419ab3b4 (diff)
downloadcxmanage-ead8c0a583636004ff0fc468c649d882a4ec6dc1.tar.gz
nojira cx_manage tests need to output XML for Jenkins reporting
-rwxr-xr-xrun_tests3
1 files changed, 2 insertions, 1 deletions
diff --git a/run_tests b/run_tests
index f0d7831..bfc64c4 100755
--- a/run_tests
+++ b/run_tests
@@ -32,6 +32,7 @@
import unittest
+import xmlrunner
from cxmanage_test import tftp_test, image_test, node_test, fabric_test, \
tasks_test
@@ -43,7 +44,7 @@ def main():
suite = unittest.TestSuite()
for module in test_modules:
suite.addTest(loader.loadTestsFromModule(module))
- unittest.TextTestRunner(verbosity=2).run(suite)
+ xmlrunner.XMLTestRunner(verbosity=2).run(suite)
if __name__ == "__main__":
main()