You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by wa...@apache.org on 2018/05/07 15:08:21 UTC

incubator-singa git commit: SINGA-354 Update travis scripts to use conda-build for all platforms

Repository: incubator-singa
Updated Branches:
  refs/heads/master c7f751e0e -> 24963c0d7


SINGA-354 Update travis scripts to use conda-build for all platforms

fix the bugs from dump the unittest result.


Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/24963c0d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/24963c0d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/24963c0d

Branch: refs/heads/master
Commit: 24963c0d7ffff792c5a93bbe149b66c7868a56af
Parents: c7f751e
Author: Wang Wei <dc...@nus.edu.sg>
Authored: Mon May 7 22:53:28 2018 +0800
Committer: Wang Wei <dc...@nus.edu.sg>
Committed: Mon May 7 22:55:47 2018 +0800

----------------------------------------------------------------------
 test/python/run.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/24963c0d/test/python/run.py
----------------------------------------------------------------------
diff --git a/test/python/run.py b/test/python/run.py
index ef2c671..9537d11 100644
--- a/test/python/run.py
+++ b/test/python/run.py
@@ -22,6 +22,5 @@ import xmlrunner
 loader = unittest.TestLoader()
 tests = loader.discover('.')
 # testRunner = unittest.runner.TextTestRunner()
-with open('unittest.xml', 'w') as output:
-    testRunner = xmlrunner.XMLTestRunner(output=output)
-    testRunner.run(tests)
+testRunner = xmlrunner.XMLTestRunner(output='unittest.xml')
+testRunner.run(tests)