Few tests in `test_pymoose.py` are failing on OpenSuse/32 Bit architecture
Created by: subhacom
The script tests/python/test_pymoose.py
contains many test. On 32 bit platfrom, testHash function is failing. Following is the output:
tral
.....
Created 553 path=neutral37770719855491517228903636223651920149/b numData=1 isGlobal=0 baseType=Neutral
Created 554 path=/neutral308978715049666217345658124111349358159 numData=3 isGlobal=0 baseType=Neutral
neutral37770719855491517228903636223651920149 neutral37770719855491517228903636223651920149/b
/neutral37770719855491517228903636223651920149[0] /neutral37770719855491517228903636223651920149[0]/b[0]
3 3
.Created 555 path=neutral272687739095049529399358978591748180758 numData=1 isGlobal=0 baseType=Neutral
Created 556 path=neutral272687739095049529399358978591748180758/b numData=1 isGlobal=0 baseType=Neutral
Created 557 path=/neutral263546250745878108083714856063914104028 numData=3 isGlobal=0 baseType=Neutral
neutral272687739095049529399358978591748180758 neutral272687739095049529399358978591748180758/b
/neutral272687739095049529399358978591748180758[0] /neutral272687739095049529399358978591748180758[0]/b[0]
3 3
......Created 564 path=/x numData=10 isGlobal=0 baseType=Neutral
Created 565 path=/x[5]/y numData=10 isGlobal=0 baseType=IntFire
Created 566 path=/x[5]/z numData=3 isGlobal=0 baseType=PulseGen
Created 567 path=/x[5]/z[2]/u numData=10 isGlobal=0 baseType=IntFire
..0: Error: SetGet::strGet: Field Vm not found on Element z
0: Error: SetGet::strGet: Field Vm not found on Element z
0: Error: SetGet::strGet: Field Vm not found on Element z
..
======================================================================
FAIL: testHash (__main__.TestNeutral)
Test if our hash function for ObjId is doing the right thing - the
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_pymoose.py", line 57, in testHash
self.assertEqual(hash(oid), oid.vec.value << 48 | oid.dindex << 16 | oid.findex)
AssertionError: 0 != 125537839612952576L
----------------------------------------------------------------------
Ran 31 tests in 0.042s
FAILED (failures=1)
```~
I think this test passes on 64 bit OS.
Reported by: *anonymous