1
1
Граф коммитов

2 Коммитов

Автор SHA1 Сообщение Дата
Jeff Squyres
df311b82aa Make this script be executable
This commit was SVN r31357.
2014-04-09 13:47:45 +00:00
Jeff Squyres
7a3adcf050 contrib: simple script to check for stale show_help messages / usage
This script can be run from any sub-tree in the OMPI code base.  It
does several things:

* Find all help-*txt files and index all the topics found in the
  sub-tree.
* Find all C/C++ source files (.c, .cc, .h) in the sub-tree, and look
  for various flavors of the opal_show_help() function (e.g.,
  including orte_show_help()) and search for hard-coded filenames and
  topics.
* Also look for special tokens (in comments) in the source code for
  help topics that are not necessarily hard-coded (e.g., topics that
  are snprintf'ed).
* For each filename/topic found, output a warning if a) the file does
  not exist, or b) that the topic does not exist in that file.
* Output a warning for any topic that is not referenced in the source
  code (i.e., orphaned/now-unused help messages).
* Output a warning for any help file that appears to be empty.
* Output a warning for any help file that appears to be unused (i.e.,
  no topics in the help file are referenced in code).

This commit was SVN r31311.
2014-04-07 15:34:55 +00:00