Run existing check to allow only supported backends in mdtest.

master
Julian M. Kunkel 2020-06-30 11:17:46 +01:00
parent 3e6bfd2db7
commit 5a5b90cdaa
1 changed files with 2 additions and 0 deletions

View File

@ -1994,6 +1994,8 @@ mdtest_results_t * mdtest_run(int argc, char **argv, MPI_Comm world_com, FILE *
backend = aiori_select(api);
if (backend == NULL)
ERR("Unrecognized I/O API");
if (! backend->enable_mdtest)
ERR("Backend doesn't support MDTest");
backend_options = airoi_update_module_options(backend, global_options);
free(global_options->modules);