GeoscienceAustralia / eqrm

Automatically exported from code.google.com/p/eqrm
Other
5 stars 4 forks source link

test fail #138

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

tanjap@compute2:/scratch/compute2/tanja/EQRM/python_eqrm$ python test_all.py 

WARNING: The plotting test suites will not be run since the X environment is 
not set up.
         You must do 'ssh -X <machine>' to run these tests.

Testing path /scratch/compute2/tanja/EQRM/python_eqrm/eqrm_code/..:

------- Trying to compile c-extension polygon_ext.c
gcc -c polygon_ext.c -I"/usr/lib/python2.7/dist-packages/numpy/core/include"  
-I"/usr/include/python2.7" -o "polygon_ext.o" -Wall -O3 -fPIC -m64
gcc -shared polygon_ext.o  -o polygon_ext.so -lm
.....................................................creating 
/tmp/tanjap/python27_intermediate/compiler_724a6138bf2c7161b25adb06501b7d46
................................................................................
................................................................................
................................................................................
......................................F.........................................
.......................................................................
======================================================================
FAIL: test_write_gmm_data_file 
(test_create_gmm_data_4_nhlib.Test_create_gmm_data_4_nhlib)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/scratch/compute2/tanja/EQRM/python_eqrm/eqrm_code/test_create_gmm_data_4_nhlib.py", line 48, in test_write_gmm_data_file
    self.assertEqual(row, actual)
AssertionError: Lists differ: ['5', '1.0', 'MEAN', 'AVERAGE_... != ['5', '1.0', 
'MEAN', 'AVERAGE_...

First differing element 4:
22026.465794806718
22026.4657948

  ['5',
   '1.0',
   'MEAN',
   'AVERAGE_HORIZONTAL',
-  '22026.465794806718',
?                -----

+  '22026.4657948',
-  '22026.465794806718',
?                -----

+  '22026.4657948',
-  '22026.465794806718',
?                -----

+  '22026.4657948',
-  '22026.465794806718']
?                -----

+  '22026.4657948']

----------------------------------------------------------------------
Ran 444 tests in 15.744s

FAILED (failures=1)

Original issue reported on code.google.com by duncan.g...@gmail.com on 14 Mar 2014 at 6:08

GoogleCodeExporter commented 9 years ago
this was due to using an old version of EQRM.

Original comment by duncan.g...@gmail.com on 17 Mar 2014 at 10:56