sfepy/sfepy — Issue #18: tests won't pass on amd64
Author: rc
Created: 2012-01-30 10:24:00+00:00
State: open

Pristine sfepy install:

$ ./runTests.py --filter-more
<<< directory: tests, test files: 14
+++ test_structAdd: ok
+++ test_structIAdd: ok
+++ test_linear_terms: ok
+++ test_input: ok
--- test_input: failed!
+++ test_input: ok
+++ test_input: ok
--- test_recursiveDictHDF5: failed!
--- test_sparseMatrixHDF5: failed!
+++ test_linearRigidBodyBC: ok
+++ test_linearRigidBodyBC: ok
--- test_readMeshes: failed!
--- test_compareSameMeshes: failed!
+++ test_parseEquations: ok
+++ test_parseRegions: ok
+++ test_pbc: ok
+++ test_pbc: ok
+++ test_problemCreation: ok
14 test file(s) executed in 11.17 s, 5 failure(s) of 18 test(s)

Let's close this issue when all tests/sfepy are fixed to pass on amd64 too.

Migrated from http://code.google.com/p/sfepy/issues/detail?id=14

earlier comments

ondrej.certik said, at 2008-02-05T14:07:05.000Z:

Some of the tests started to pass after installing the "python-tables" package.

$ ./runTests.py --filter-more
<<< directory: tests, test files: 14
+++ test_structAdd: ok
+++ test_structIAdd: ok
+++ test_linear_terms: ok
+++ test_input: ok
--- test_input: failed!
+++ test_input: ok
+++ test_input: ok
+++ test_recursiveDictHDF5: ok
+++ test_sparseMatrixHDF5: ok
+++ test_linearRigidBodyBC: ok
+++ test_linearRigidBodyBC: ok
--- test_readMeshes: failed!
--- test_compareSameMeshes: failed!
+++ test_parseEquations: ok
+++ test_parseRegions: ok
+++ test_pbc: ok
+++ test_pbc: ok
+++ test_problemCreation: ok
14 test file(s) executed in 11.45 s, 3 failure(s) of 18 test(s)

robert.cimrman said, at 2008-02-05T14:10:42.000Z:

could you run all the failing test files with --debug? I do not have access to AMD64.

robert.cimrman said, at 2008-02-05T15:04:51.000Z:

forget previous comment, I can debug it on your machine you gave me access to.

robert.cimrman said, at 2008-02-05T15:15:13.000Z:

probably fixed, try it please :)

ondrej.certik said, at 2008-02-05T15:20:00.000Z:

Indeed it works now.

$ time ./runTests.py
<<< directory: tests, test files: 14
<<< tests/test_base.py
+++ test_structAdd: ok
+++ test_structIAdd: ok
<<< tests/test_elasticity_small_strain.py
+++ test_linear_terms: ok
<<< tests/test_input_kostka.py
+++ test_input: ok
<<< tests/test_input_le.py
+++ test_input: ok
<<< tests/test_input_navier_stokes.py
+++ test_input: ok
<<< tests/test_input_poisson.py
+++ test_input: ok
<<< tests/test_io.py
+++ test_recursiveDictHDF5: ok
+++ test_sparseMatrixHDF5: ok
<<< tests/test_lcbc_2d.py
+++ test_linearRigidBodyBC: ok
<<< tests/test_lcbc_3d.py
+++ test_linearRigidBodyBC: ok
<<< tests/test_meshio.py
+++ test_readMeshes: ok
+++ test_compareSameMeshes: ok
<<< tests/test_parsing.py
+++ test_parseEquations: ok
+++ test_parseRegions: ok
<<< tests/test_periodic_bc_2d.py
+++ test_pbc: ok
<<< tests/test_periodic_bc_3d.py
+++ test_pbc: ok
<<< tests/test_quadratures.py
+++ test_problemCreation: ok
14 test file(s) executed in 11.60 s, 0 failure(s) of 18 test(s)

Thanks for the fix!