From a241f14e2af556894331074d7b7d0f03da945e54 Mon Sep 17 00:00:00 2001 From: Rowan Cockett Date: Tue, 5 Nov 2013 16:11:49 -0800 Subject: [PATCH] updates to runTests.py --- SimPEG/tests/report.html | 2870 -------------------------------------- SimPEG/tests/runTests.py | 3 + docs/api_TestResults.rst | 611 ++++---- 3 files changed, 297 insertions(+), 3187 deletions(-) delete mode 100644 SimPEG/tests/report.html diff --git a/SimPEG/tests/report.html b/SimPEG/tests/report.html deleted file mode 100644 index be98c935..00000000 --- a/SimPEG/tests/report.html +++ /dev/null @@ -1,2870 +0,0 @@ - - - - - Test Results - - - - - - - - - -
-

Test Results

-

Start Time: 2013-11-05 15:38:27

-

Duration: 0:00:32.112639

-

Status: Pass 96 Error 3

- -

SimPEG Test Report was automatically generated.

-
- - - -

Show -Summary -Failed -All -

- -------- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Test Group/Test caseCountPassFailErrorView
test_basemesh.TestBaseMesh111100Detail
test_meshDimensions
pass
test_mesh_nc
pass
test_mesh_nc_xyz
pass
test_mesh_ne
pass
test_mesh_nf
pass
test_mesh_numbers
pass
test_mesh_r_CC_M
pass
test_mesh_r_E_M
pass
test_mesh_r_E_V
pass
test_mesh_r_F_M
pass
test_mesh_r_F_V
pass
test_basemesh.TestMeshNumbers2D111100Detail
test_meshDimensions
pass
test_mesh_nc
pass
test_mesh_nc_xyz
pass
test_mesh_ne
pass
test_mesh_nf
pass
test_mesh_numbers
pass
test_mesh_r_CC_M
pass
test_mesh_r_E_M
pass
test_mesh_r_E_V
pass
test_mesh_r_F_M
pass
test_mesh_r_F_V
pass
test_forward_DCproblem.DCProblemTests4103Detail
test_adjoint
- - - - error - - - - -
test_dataObj
- - - - error - - - - -
test_misfit
- - - - error - - - - -
test_modelObj
- - - - pass - - - - -
test_forward_problem.ProblemTests2200Detail
test_modelTransform
- - - - pass - - - - -
test_regularization
- - - - pass - - - - -
test_interpolation.TestInterpolation1D2200Detail
test_orderCC
- - - - pass - - - - -
test_orderN
- - - - pass - - - - -
test_interpolation.TestInterpolation2d6600Detail
test_orderCC
- - - - pass - - - - -
test_orderEx
- - - - pass - - - - -
test_orderEy
- - - - pass - - - - -
test_orderFx
- - - - pass - - - - -
test_orderFy
- - - - pass - - - - -
test_orderN
- - - - pass - - - - -
test_interpolation.TestInterpolation3D8800Detail
test_orderCC
- - - - pass - - - - -
test_orderEx
- - - - pass - - - - -
test_orderEy
- - - - pass - - - - -
test_orderEz
- - - - pass - - - - -
test_orderFx
- - - - pass - - - - -
test_orderFy
- - - - pass - - - - -
test_orderFz
- - - - pass - - - - -
test_orderN
- - - - pass - - - - -
test_LogicallyOrthogonalMesh.BasicLOMTests8800Detail
test_area_3D
pass
test_edge_2D
pass
test_edge_3D
pass
test_grid
pass
test_normals
pass
test_tangents
pass
test_vol_2D
pass
test_vol_3D
pass
test_massMatrices.TestInnerProducts: Integrate an function over a unit cube domain using edgeInnerProducts and faceInnerProducts.6600Detail
test_order1_edges
- - - - pass - - - - -
test_order1_faces
- - - - pass - - - - -
test_order3_edges
- - - - pass - - - - -
test_order3_faces
- - - - pass - - - - -
test_order6_edges
- - - - pass - - - - -
test_order6_faces
- - - - pass - - - - -
test_massMatrices.TestInnerProducts2D: Integrate an function over a unit cube domain using edgeInnerProducts and faceInnerProducts.6600Detail
test_order1_edges
- - - - pass - - - - -
test_order1_faces
- - - - pass - - - - -
test_order2_faces
- - - - pass - - - - -
test_order3_edges
- - - - pass - - - - -
test_order3_faces
- - - - pass - - - - -
test_order6_edges
- - - - pass - - - - -
test_operators.TestCurl1100Detail
test_order
- - - - pass - - - - -
test_operators.TestFaceDiv1100Detail
test_order
- - - - pass - - - - -
test_operators.TestFaceDiv2D1100Detail
test_order
- - - - pass - - - - -
test_operators.TestNodalGrad1100Detail
test_order
- - - - pass - - - - -
test_operators.TestNodalGrad2D1100Detail
test_order
- - - - pass - - - - -
test_Solver.TestSolver101000Detail
test_directDiagonal_1
pass
test_directDiagonal_M
pass
test_directFactored_1
pass
test_directFactored_M
pass
test_directLower_1
pass
test_directLower_M
pass
test_directSpsolve_1
pass
test_directSpsolve_M
pass
test_directUpper_1
pass
test_directUpper_M
pass
test_tensorMesh.BasicTensorMeshTests7700Detail
test_area_3D
pass
test_edge_2D
pass
test_edge_3D
pass
test_vectorCC_2D
pass
test_vectorN_2D
pass
test_vol_2D
pass
test_vol_3D
pass
test_tensorMesh.TestPoissonEqn2200Detail
test_orderBackward
- - - - pass - - - - -
test_orderForward
- - - - pass - - - - -
test_utils.TestCheckDerivative3300Detail
test_simpleFail
- - - - pass - - - - -
test_simpleFunction
- - - - pass - - - - -
test_simplePass
- - - - pass - - - - -
test_utils.TestSequenceFunctions8800Detail
test_indexCube_2D
pass
test_indexCube_3D
pass
test_invXXXBlockDiagonal
pass
test_mkvc1
pass
test_mkvc2
pass
test_mkvc3
pass
test_ndgrid_2D
pass
test_ndgrid_3D
pass
Total999603 
- -
 
- - - diff --git a/SimPEG/tests/runTests.py b/SimPEG/tests/runTests.py index d671324e..c44f9a1e 100644 --- a/SimPEG/tests/runTests.py +++ b/SimPEG/tests/runTests.py @@ -1,3 +1,4 @@ +import os import glob import unittest import HTMLTestRunner @@ -45,3 +46,5 @@ for line in reader: writer.write(' '+line) writer.close() +reader.close() +os.remove("report.html") diff --git a/docs/api_TestResults.rst b/docs/api_TestResults.rst index 667ad91d..7b276006 100644 --- a/docs/api_TestResults.rst +++ b/docs/api_TestResults.rst @@ -185,9 +185,9 @@ Test Results -->
-

Start Time: 2013-11-05 15:38:27

-

Duration: 0:00:32.112639

-

Status: Pass 96 Error 3

+

Start Time: 2013-11-05 16:10:07

+

Duration: 0:00:31.280082

+

Status: Pass 99

SimPEG Test Report was automatically generated.

@@ -345,37 +345,48 @@ Test Results pass - + test_forward_DCproblem.DCProblemTests 4 - 1 + 4 + 0 0 - 3 Detail - -
test_adjoint
+ +
test_adjoint
+ pass + + + +
test_dataObj
- - error + + pass -