diff --git a/pmodules_tools/deps_status/check.py b/pmodules_tools/deps_status/check.py index 43c9bbe8..dd8037a6 100644 --- a/pmodules_tools/deps_status/check.py +++ b/pmodules_tools/deps_status/check.py @@ -20,9 +20,13 @@ def deps_status_check(module_cmd_process): def failure_handler(module, given_status): if len(module) != 0: - print('Module: "' + module + '" should be deployed as ' + given_status) - global failed_at_least_once - failed_at_least_once = True + with open("whitelist.txt") as file: + content = file.read() + name = module.split()[0].split("/")[0] + if name not in content: + print('Module: "' + module + '" should be deployed as ' + given_status) + global failed_at_least_once + failed_at_least_once = True def subprocess_cmd(cmd): diff --git a/whitelist.txt b/whitelist.txt new file mode 100644 index 00000000..fff99b85 --- /dev/null +++ b/whitelist.txt @@ -0,0 +1,10 @@ +OPAL +asciidoc +cp2k +cpmd +dynamo +fluka4 +gnuplot +gromacs +ior +ncview \ No newline at end of file