thegooglecodearchive / sfepy

Automatically exported from code.google.com/p/sfepy
0 stars 0 forks source link

tests won't pass on amd64 #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by ondrej.c...@gmail.com on 5 Feb 2008 at 2:04

GoogleCodeExporter commented 9 years ago
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)

Original comment by ondrej.c...@gmail.com on 5 Feb 2008 at 2:07

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

Original comment by robert.c...@gmail.com on 5 Feb 2008 at 2:10

GoogleCodeExporter commented 9 years ago
forget previous comment, I can debug it on your machine you gave me access to.

Original comment by robert.c...@gmail.com on 5 Feb 2008 at 3:04

GoogleCodeExporter commented 9 years ago
probably fixed, try it please :)

Original comment by robert.c...@gmail.com on 5 Feb 2008 at 3:15

GoogleCodeExporter commented 9 years ago
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!

Original comment by ondrej.c...@gmail.com on 5 Feb 2008 at 3:20

GoogleCodeExporter commented 9 years ago
Migrated to http://github.com/sfepy/sfepy/issues/18

Original comment by robert.c...@gmail.com on 30 Jan 2012 at 10:24