perturbopy.test_utils.run_test.test_driver.get_test_materials
- perturbopy.test_utils.run_test.test_driver.get_test_materials(test_name, test_case, config_machine, source_folder)
- Run one test:
run perturbo.x to produce output files
determine paths to files for comparison
associated settings for file comparison with file paths
- Parameters:
test_name (str) – name of test
test_case (str) – define what type of the test we run - for perturbo testing or for the qe2pert testing.
config_machine (str) – name of file with computational information, which we’ll use in this set of computations. Should be in folder {source_folder}/config_machine
source_folder (str) – name of the folder, where should be all the testing supplementary files (reference, input files, etc.)
- Returns:
ref_outs (list) – list of paths to reference files
new_outs (list) – list of paths to outputted files
igns_n_tols (list) – list of dictionaries containing the ignore keywords and tolerances needed to performance comparison of ref_outs and new_outs