This is an automated email from the ASF dual-hosted git repository.

cjolivier01 pushed a commit to branch cython
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 620c9916f3c7b5547d8a106b5356abbf722c8110
Author: Olivier <cooli...@amazon.com>
AuthorDate: Thu Mar 8 15:23:43 2018 -0800

    test calling printf in C++ and C++ class
---
 tests/python/unittest/test_cython.py | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/tests/python/unittest/test_cython.py 
b/tests/python/unittest/test_cython.py
index e5a7def..7b6e9e1 100644
--- a/tests/python/unittest/test_cython.py
+++ b/tests/python/unittest/test_cython.py
@@ -49,7 +49,7 @@ def test_basic_cython():
   # Test using a C++ class'
   mxc.test_cpp_class()
   mxc.test_perf(10, 1)
-  test_perf_bridge(10)
+  test_perf_bridge(10, 1)
 
 
 def test_perf(count, make_c_call):
@@ -91,11 +91,13 @@ def test_perf_bridge(count, make_c_call):
 if __name__ == '__main__':
   # import nose
   # nose.runmodule()
-  iter_count = 100000000
-  test_perf(iter_count, 0)
-  mxc.test_perf(iter_count, 0)
-  test_perf(iter_count, 1)
-  mxc.test_perf(iter_count, 1)
-  #test_basic_cython()
-  test_perf_bridge(iter_count, 0)
-  test_perf_bridge(iter_count, 1)
+
+  # iter_count = 100000000
+  # test_perf(iter_count, 0)
+  # mxc.test_perf(iter_count, 0)
+  # test_perf(iter_count, 1)
+  # mxc.test_perf(iter_count, 1)
+  # test_perf_bridge(iter_count, 0)
+  # test_perf_bridge(iter_count, 1)
+
+  test_basic_cython()

-- 
To stop receiving notification emails like this one, please contact
cjolivie...@apache.org.

Reply via email to