Dnia 2011-11-23, śro o godzinie 20:00 -0500, Andreas Kloeckner pisze: > On Wed, 23 Nov 2011 11:14:04 +0100, Tomasz Rybak <[email protected]> wrote: > I still have this problem in current git > > 937f3996f0598cda5a1923ad2baebd0916e43c48 > > > > ============================= test session starts > > ============================== > > platform linux2 -- Python 2.7.2 -- pytest-1.3.4 > > test path 1: test_array.py > > > > test_array.py E > > > > ==================================== ERRORS > > ==================================== > > ERROR collecting /usr/src/cuda/pyopencl/pyopencl-2011.1.2 > > +git20111122/test/test_array.py > > test_array.py:669: in <module> > > > register_dtype(mmc_dtype, "minmax_collector") > > /usr/lib/python2.7/dist-packages/pyopencl/compyte/dtypes.py:50: in > > register_dtype > > > % (dtype, DTYPE_TO_NAME[dtype], ", ".join(c_names))) > > E RuntimeError: dtype '[('cur_min', '<i4'), ('cur_max', > > '<i4'), ('pad', '<i4')]' already registered (as 'minmax_collector', new > > names 'minmax_collector') > > =========================== 1 error in 0.22 seconds > > ============================ > > Oh. Looks like Pytest < 2.0 executes the test file multiple times. Fine, > should be fixed in git now, too. > > Andreas >
Thanks, but now I am having troubles getting submodules: Cloning into 'pyopencl-2011.2'... cd pyopencl-2011.2 && git submodule init pyopencl/compyte && git submodule update pyopencl/compyte && git checkout f5545eff1ec2210c0df310e85143b38f875871ce Submodule 'pyopencl/compyte' (http://git.tiker.net/trees/compyte.git) registered for path 'pyopencl/compyte' Cloning into 'pyopencl/compyte'... fatal: reference is not a tree: 90d35d1601a38723198eceb3149b2bbe12455216 Unable to checkout '90d35d1601a38723198eceb3149b2bbe12455216' in submodule path 'pyopencl/compyte I have checked that 90d... is compyte diff - what's going on? -- Tomasz Rybak <[email protected]> GPG/PGP key ID: 2AD5 9860 Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860 http://member.acm.org/~tomaszrybak
signature.asc
Description: This is a digitally signed message part
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
