[pypy-svn] pypy numpy-exp: finish the test

fijal commits-noreply at bitbucket.org
Fri Feb 11 10:23:56 CET 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-exp
Changeset: r41818:9c76b99f319d
Date: 2011-02-11 11:23 +0200
http://bitbucket.org/pypy/pypy/changeset/9c76b99f319d/

Log:	finish the test

diff --git a/pypy/module/micronumpy/test/test_jit.py b/pypy/module/micronumpy/test/test_jit.py
--- a/pypy/module/micronumpy/test/test_jit.py
+++ b/pypy/module/micronumpy/test/test_jit.py
@@ -22,3 +22,6 @@
             return v.force().storage[3]
 
         self.meta_interp(f, [5], listops=True, backendopt=True)
+        self.check_loops({'getarrayitem_gc': 2, 'float_add': 1,
+                          'setarrayitem_gc': 1, 'int_add': 1,
+                          'int_lt': 1, 'guard_true': 1, 'jump': 1})


More information about the Pypy-commit mailing list