def run(): from libtbx import test_utils import libtbx.load_env build_dir = libtbx.env.under_build("annlib_adaptbx") dist_dir = libtbx.env.dist_path("annlib_adaptbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ("$D/tst_cma_es.py", ) build_dir = libtbx.env.under_build("cma_es") dist_dir = libtbx.env.dist_path("cma_es") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$D/tst_cma_es.py", ) build_dir = libtbx.env.under_build("cma_es") dist_dir = libtbx.env.dist_path("cma_es") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$D/scattering/tst_direct_summation.py", "$D/math/special_functions/tst_spherical_bessel_jn.py", ) build_dir = libtbx.env.under_build("cudatbx") dist_dir = libtbx.env.dist_path("cudatbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$D/tst_tntbx_ext.py", "$D/tst_large_eigen.py", ) build_dir = libtbx.env.under_build("tntbx") dist_dir = libtbx.env.dist_path("tntbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$D/annlib_adaptbx/sample.py", "$D/annlib_adaptbx/self_match.py", ) build_dir = libtbx.env.under_build("annlib_adaptbx") dist_dir = libtbx.env.dist_path("annlib_adaptbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$B/../exe_dev/cctbx.getting_started", "$B/../exe_dev/cctbx.sym_equiv_sites", "$D/examples/getting_started.py", ["$D/examples/space_group_matrices.py", "P31"], "$D/examples/space_subgroups.py", "$D/examples/trigonal_r_vs_tetragonal_i.py", "$D/examples/quartz_structure.py", "$D/examples/fft_map_electron_density_around_atom.py", "$D/examples/find_sys_abs_equiv_space_groups.py", "$D/examples/find_distances_using_cpp_objects.py", "$D/examples/analyze_adp.py", "$D/examples/g_exp_i_partial_derivatives.py", "$D/examples/tst_exp_i_alpha_derivatives.py", "$D/examples/tst_g_exp_i_alpha_derivatives.py", "$D/examples/tst_structure_factor_derivatives.py", "$D/examples/tst_structure_factor_derivatives_2.py", ["$D/examples/tst_structure_factor_derivatives_3.py", "P31"], [ "$D/examples/tst_structure_factor_derivatives_4.py", "--tag=internal" ], "$D/examples/structure_factor_calculus/site_derivatives.py", "$D/examples/structure_factor_calculus/u_star_derivatives.py", "$D/examples/structure_factor_calculus/sites_derivatives.py", "$D/examples/structure_factor_calculus/sites_least_squares_derivatives.py", ["$D/examples/all_axes.py", "P31"], ["$D/examples/tst_phase_o_phrenia.py", "P2"], "$D/examples/map_skewness.py", "$D/examples/site_symmetry_table.py", "$D/examples/site_symmetry_constraints.py", "$D/examples/adp_symmetry_constraints.py", "$D/examples/unit_cell_refinement.py", "$D/examples/miller_common_sets.py", "$D/examples/miller_transform.py", "$D/examples/change_hand_p31.py", "$D/examples/steve_collins.py", "$D/examples/cr2o3_primitive_cell.py", "$D/examples/cr2o3_consistency_checks.py", "$D/examples/reduced_cell_two_folds.py", "$D/examples/lebedev_2005_perturbation.py", "$D/examples/le_page_1982_vs_lebedev_2005.py", "$D/examples/random_puckers.py", ) build_dir = libtbx.env.under_build("cctbx") dist_dir = libtbx.env.dist_path("cctbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$B/../exe_dev/cctbx.getting_started", "$B/../exe_dev/cctbx.sym_equiv_sites", "$D/examples/getting_started.py", ["$D/examples/space_group_matrices.py", "P31"], "$D/examples/space_subgroups.py", "$D/examples/trigonal_r_vs_tetragonal_i.py", "$D/examples/quartz_structure.py", "$D/examples/fft_map_electron_density_around_atom.py", "$D/examples/find_sys_abs_equiv_space_groups.py", "$D/examples/find_distances_using_cpp_objects.py", "$D/examples/analyze_adp.py", "$D/examples/g_exp_i_partial_derivatives.py", "$D/examples/tst_exp_i_alpha_derivatives.py", "$D/examples/tst_g_exp_i_alpha_derivatives.py", "$D/examples/tst_structure_factor_derivatives.py", "$D/examples/tst_structure_factor_derivatives_2.py", ["$D/examples/tst_structure_factor_derivatives_3.py", "P31"], ["$D/examples/tst_structure_factor_derivatives_4.py", "--tag=internal"], "$D/examples/structure_factor_calculus/site_derivatives.py", "$D/examples/structure_factor_calculus/u_star_derivatives.py", "$D/examples/structure_factor_calculus/sites_derivatives.py", "$D/examples/structure_factor_calculus/sites_least_squares_derivatives.py", ["$D/examples/all_axes.py", "P31"], ["$D/examples/tst_phase_o_phrenia.py", "P2"], "$D/examples/map_skewness.py", "$D/examples/site_symmetry_table.py", "$D/examples/site_symmetry_constraints.py", "$D/examples/adp_symmetry_constraints.py", "$D/examples/unit_cell_refinement.py", "$D/examples/miller_common_sets.py", "$D/examples/miller_transform.py", "$D/examples/change_hand_p31.py", "$D/examples/steve_collins.py", "$D/examples/cr2o3_primitive_cell.py", "$D/examples/cr2o3_consistency_checks.py", "$D/examples/reduced_cell_two_folds.py", "$D/examples/lebedev_2005_perturbation.py", "$D/examples/le_page_1982_vs_lebedev_2005.py", "$D/examples/random_puckers.py", ) build_dir = libtbx.env.under_build("cctbx") dist_dir = libtbx.env.dist_path("cctbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): tst_list = ( "$D/tst_ext.py", "$D/tst_equivalence.py", "$D/tst_read.py", "$D/tst_cout.py", "$D/test/tst_show_calls.py", "$D/test/tst_command_line.py", "$D/test/tst_separate_files.py", "$D/test/tst_io.py", ["$D/tst_cout_compile.py", "stop"], ) build_dir = libtbx.env.under_build("fable") dist_dir = libtbx.env.dist_path("fable") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): assert easy_run.call("libtbx.find_untested mmtbx True") == 0 build_dir = libtbx.env.under_build("mmtbx") dist_dir = libtbx.env.dist_path("mmtbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): build_dir = None dist_dir = libtbx.env.dist_path("libtbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): build_dir = libtbx.env.under_build("boost_adaptbx") dist_dir = libtbx.env.dist_path("boost_adaptbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): build_dir = libtbx.env.under_build("metrix_db") dist_dir = libtbx.env.dist_path("metrix_db") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): build_dir = libtbx.env.under_build("cctbx_website") dist_dir = libtbx.env.dist_path("cctbx_website") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run_standalones(): build_dir = libtbx.env.under_build("cluster_regression") dist_dir = libtbx.env.dist_path("cluster_regression") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run (*args) : tst_list = reduce(lambda x, y: x+y, args) build_dir = libtbx.env.under_build("dials") dist_dir = libtbx.env.dist_path("dials") test_utils.run_tests(build_dir, dist_dir, tst_list)
from __future__ import division import libtbx.load_env from libtbx import test_utils from libtbx.test_utils.pytest import discover tst_list = [ # "$D/tests/tst_legacy.py", ["$D/tests/tst_legacy_mult.py", "1"] # ["$D/tests/tst_legacy_mult.py", "2"] ] + discover("i19") if (__name__ == "__main__"): build_dir = libtbx.env.under_build("i19") dist_dir = libtbx.env.dist_path("i19") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run_standalones(): build_dir = libtbx.env.under_build("spotfinder") dist_dir = libtbx.env.dist_path("spotfinder") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run_standalones(): build_dir = libtbx.env.under_build("rstbx") dist_dir = libtbx.env.dist_path("rstbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run () : build_dir = libtbx.env.under_build("dxtbx") dist_dir = libtbx.env.dist_path("dxtbx") test_utils.run_tests(build_dir, dist_dir, tst_list)
def run(): build_dir = libtbx.env.under_build("phenix_dev_doc") dist_dir = libtbx.env.dist_path("phenix_dev_doc") test_utils.run_tests(build_dir, dist_dir, tst_list)