OpenMDAO / testflo

A simple python testing framework that can run unit tests under MPI (or not).
Other
3 stars 7 forks source link

Coverage: tests executions not taken into account? #18

Closed relf closed 5 years ago

relf commented 6 years ago

I would like to use testflo to get coverage information on SMT source code. The tests are run but coverage does not record information from test passing (see log below, with nose2 I get 70%) but merely that files are imported. Did I miss something? Thank you in advance.

(base) D:\rlafage\workspace\smt>testflo --verbose --coverage --coverpkg smt
D:\rlafage\workspace\smt\smt\examples\one_D_step\tests\test_one_D_step.py:Test.test_rmtc ... OK (00:00:0.39, 0 MB)
D:\rlafage\workspace\smt\smt\examples\one_D_step\tests\test_one_D_step.py:Test.test_rmtb ... OK (00:00:0.72, 0 MB)
D:\rlafage\workspace\smt\smt\examples\rans_crm_wing\tests\test_rans_crm_wing.py:Test.test_rmtb ... OK (00:00:1.37, 0 MB)
D:\rlafage\workspace\smt\smt\extensions\tests\test_moe.py:TestMOE.test_1d_50 ... OK (00:00:0.89, 0 MB)
D:\rlafage\workspace\smt\smt\extensions\tests\test_moe.py:TestMOE.test_branin_2d_200 ... OK (00:00:4.02, 0 MB)
D:\rlafage\workspace\smt\smt\examples\rans_crm_wing\tests\test_rans_crm_wing.py:Test.test_rmtc ... OK (00:00:7.04, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_branin ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_cantilever_beam ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_lp_norm ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_robot_arm ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_rosenbrock ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_sphere ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_tensor_product ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_torsion_vibration ... OK (00:00:0.08, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_water_flow ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_welded_beam ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\problems\tests\test_problem_examples.py:Test.test_wing_weight ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\sampling_methods\tests\test_sampling_method_examples.py:Test.test_full_factorial ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\sampling_methods\tests\test_sampling_method_examples.py:Test.test_lhs ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\sampling_methods\tests\test_sampling_method_examples.py:Test.test_random ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\examples\b777_engine\tests\test_b777_engine.py:Test.test_rmtb ... OK (00:00:8.55, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_idw ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_kpls ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_kplsk ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_krg ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_ls ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_qp ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_rbf ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_rmtb ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_rmtc ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_GEKPLS ... OK (00:00:0.33, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_IDW ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_KPLS ... OK (00:00:0.06, 0 MB)
D:\rlafage\workspace\smt\smt\extensions\tests\test_moe.py:TestMOE.test_norm1_2d_200 ... OK (00:00:2.01, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_KPLSK ... OK (00:00:0.42, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_LS ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_KRG ... OK (00:00:0.28, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_RBF ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\surrogate_models\tests\test_surrogate_model_examples.py:Test.test_gekpls ... OK (00:00:1.89, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_MFK ... OK (00:00:1.17, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_GEKPLS ... OK (00:00:0.44, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_IDW ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_KPLS ... OK (00:00:0.34, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_RMTB ... OK (00:00:2.25, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_KPLSK ... OK (00:00:1.28, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_KRG ... OK (00:00:0.92, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_QP ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_RBF ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_RMTB ... OK (00:00:2.36, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_cos_RMTC ... OK (00:00:5.34, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_GEKPLS ... OK (00:00:0.34, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_IDW ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_MFK ... OK (00:00:2.89, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_KPLS ... OK (00:00:0.08, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_KRG ... OK (00:00:0.22, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_LS ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_KPLSK ... OK (00:00:0.31, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_RBF ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\examples\b777_engine\tests\test_b777_engine.py:Test.test_rmtc ... OK (00:00:16.52, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_exp_RMTC ... OK (00:00:1.40, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_MFK ... OK (00:00:0.86, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_RMTC ... OK (00:00:1.34, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_derivs.py:Test.test_sphere_RMTB ... OK (00:00:0.31, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_derivs.py:Test.test_sphere_RMTC ... OK (00:00:0.44, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_all.py:Test.test_tanh_RMTB ... OK (00:00:2.81, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTB ... OK (00:00:2.78, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTB_predict ... OK (00:00:2.53, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTB_train ... OK (00:00:0.23, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_derivs.py:Test.test_sphere_RBF ... OK (00:00:5.30, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTC_train ... OK (00:00:2.51, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_cos_IDW ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTC ... OK (00:00:4.52, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_cos_LS ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_derivs.py:Test.test_sphere_MFK ... OK (00:00:9.44, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_cos_RBF ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_exp_IDW ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_cos_QP ... OK (00:00:0.56, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_exp_LS ... OK (00:00:0.03, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_exp_QP ... OK (00:00:0.06, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_exp_RBF ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_sphere_IDW ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_extrap.py:Test.test_RMTC_predict ... OK (00:00:5.71, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_sphere_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_sphere_QP ... OK (00:00:0.64, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_sphere_RBF ... OK (00:00:0.33, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_tanh_IDW ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_cos_KRG ... OK (00:00:7.89, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_tanh_LS ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_exp_KRG ... OK (00:00:6.66, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_tanh_RBF ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_cos_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_cos_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_cos_RMTB ... OK (00:00:0.47, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_tanh_QP ... OK (00:00:0.97, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_exp_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_exp_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_cos_RMTC ... OK (00:00:0.83, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_exp_RMTB ... OK (00:00:0.55, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_sphere_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_sphere_KRG ... OK (00:00:7.57, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_sphere_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_sphere_RMTB ... OK (00:00:0.64, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_tanh_LS ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_tanh_QP ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_exp_RMTC ... OK (00:00:0.98, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_sphere_RMTC ... OK (00:00:0.98, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_output_derivs.py:Test.test_IDW ... OK (00:00:0.05, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_tanh_RMTB ... OK (00:00:0.58, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_output_derivs.py:Test.test_RBF ... OK (00:00:0.25, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_low_dim.py:Test.test_tanh_RMTC ... OK (00:00:0.95, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_branin ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_cantilever_beam ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_cos ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_exp ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_gaussian ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_lp_norm ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_ndim_cantilever_beam ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_ndim_robot_arm ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_ndim_rosenbrock ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_ndim_step_function ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_robot_arm ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_rosenbrock ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_sphere ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_tanh ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_torsion_vibration ... OK (00:00:0.02, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_water_flow ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_welded_beam ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_problems.py:Test.test_wing_weight ... OK (00:00:0.00, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_high_dim.py:Test.test_tanh_KRG ... OK (00:00:8.38, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_cos_RMTB ... OK (00:00:5.65, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_exp_RMTB ... OK (00:00:6.10, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_cos_RMTC ... OK (00:00:17.35, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_sphere_RMTB ... OK (00:00:6.57, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_exp_RMTC ... OK (00:00:12.68, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_output_derivs.py:Test.test_RMTC ... OK (00:00:31.67, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_tanh_RMTB ... OK (00:00:6.83, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_output_derivs.py:Test.test_RMTB ... OK (00:00:32.51, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_sphere_RMTC ... OK (00:00:11.40, 0 MB)
D:\rlafage\workspace\smt\smt\tests\test_training_derivs.py:Test.test_tanh_RMTC ... OK (00:00:6.83, 0 MB)

OK

Passed:  142
Failed:  0
Skipped: 0

Ran 142 tests using 4 processes
Wall clock time:   00:01:16.99

Name                                                   Stmts   Miss  Cover
--------------------------------------------------------------------------
smt\examples\b777_engine\b777_engine.py                  210    210     0%
smt\examples\b777_engine\run_b777_engine_rmtb.py          10     10     0%
smt\examples\b777_engine\run_b777_engine_rmtc.py          10     10     0%
smt\examples\one_D_step\one_D_step.py                     19     19     0%
smt\examples\one_D_step\run_one_D_step_rmtb.py             7      7     0%
smt\examples\one_D_step\run_one_D_step_rmtc.py             7      7     0%
smt\examples\rans_crm_wing\rans_crm_wing.py               94     94     0%
smt\examples\rans_crm_wing\run_rans_crm_wing_rmtb.py       7      7     0%
smt\examples\rans_crm_wing\run_rans_crm_wing_rmtc.py       7      7     0%
smt\examples\run_examples.py                             392    392     0%
smt\extensions\extensions.py                              22      9    59%
smt\extensions\mfk.py                                    239    217     9%
smt\extensions\moe.py                                    216    187    13%
smt\extensions\vfm.py                                     99     89    10%
smt\problems\branin.py                                    29     22    24%
smt\problems\cantilever_beam.py                           48     41    15%
smt\problems\lp_norm.py                                   21     14    33%
smt\problems\ndim_cantilever_beam.py                      16      7    56%
smt\problems\ndim_robot_arm.py                            16      7    56%
smt\problems\ndim_rosenbrock.py                           16      7    56%
smt\problems\ndim_step_function.py                        15      7    53%
smt\problems\problem.py                                   29     20    31%
smt\problems\reduced_problem.py                           34     27    21%
smt\problems\robot_arm.py                                 42     35    17%
smt\problems\rosenbrock.py                                20     13    35%
smt\problems\sphere.py                                    16      9    44%
smt\problems\tensor_product.py                            34     27    21%
smt\problems\torsion_vibration.py                         61     53    13%
smt\problems\water_flow.py                                44     36    18%
smt\problems\water_flow_lfidelity.py                      44     36    18%
smt\problems\welded_beam.py                               41     33    20%
smt\problems\wing_weight.py                               49     41    16%
smt\sampling_methods\full_factorial.py                    27     20    26%
smt\sampling_methods\lhs.py                              101     88    13%
smt\sampling_methods\random.py                             9      3    67%
smt\sampling_methods\sampling_method.py                   19     12    37%
smt\surrogate_models\gekpls.py                            27     18    33%
smt\surrogate_models\idw.py                               62     48    23%
smt\surrogate_models\kpls.py                              20     10    50%
smt\surrogate_models\kplsk.py                             22     12    45%
smt\surrogate_models\krg.py                               14      6    57%
smt\surrogate_models\krg_based.py                        256    231    10%
smt\surrogate_models\ls.py                                33     22    33%
smt\surrogate_models\qp.py                                61     49    20%
smt\surrogate_models\rbf.py                              106     91    14%
smt\surrogate_models\rmtb.py                              64     50    22%
smt\surrogate_models\rmtc.py                              72     58    19%
smt\surrogate_models\rmts.py                             287    258    10%
smt\surrogate_models\surrogate_model.py                  135    112    17%
smt\utils\caching.py                                      34     25    26%
smt\utils\checks.py                                       17     13    24%
smt\utils\kriging_utils.py                               120    110     8%
smt\utils\line_search.py                                 129    103    20%
smt\utils\linear_solvers.py                              332    279    16%
smt\utils\misc.py                                         24     21    12%
smt\utils\options_dictionary.py                           36     26    28%
smt\utils\printer.py                                      41     29    29%
smt\utils\silence.py                                      34     25    26%
smt\utils\sm_test_case.py                                 10      6    40%
--------------------------------------------------------------------------
TOTAL                                                   4006   3425    15%
naylor-b commented 6 years ago

Does it work any better if you change the command to: testflo smt --verbose --coverage --coverpkg=smt ?

relf commented 6 years ago

Tried... It is still the same.

relf commented 5 years ago

It works when I turn off mpi (-n 1).