perturbopy.testing_code.test_functions.test_perturbo

perturbopy.testing_code.test_functions.test_perturbo(test_name, config_machine, keep_perturbo, source_folder, test_case='perturbo')

Driver to run the tests for the perturbo.x executable.

Parameters:
  • test_name (str) – name of the folder inside the tests/ folder

  • 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.)

Return type:

None