#190 Missing test for ectagsbin existence in genxref

current_cvs
closed-fixed
genxref (49)
7
2011-12-26
2011-12-21
No

If config parameter 'ectagsbin' is not defined, sub indexfile in Generic.pm will silently ignore the tagging phase leading to erratic behaviour later when browsing the source-tree (from inaccurate marking to no marking at all, depending on the state of the DB).

A test should be made in genxref to abort as early as possible the task with a self-explanatory error message.

Discussion

  • Andre-Littoz

    Andre-Littoz - 2011-12-21

    This has now been fixed in CVS.

    If you can install the new version and check that it solves your
    problem, then it would be very useful.

    Thanks for reporting this defect and helping to make LXR better.

     
  • Andre-Littoz

    Andre-Littoz - 2011-12-21
    • status: open --> open-fixed
     
  • Andre-Littoz

    Andre-Littoz - 2011-12-21

    Test made in genxref with an attempt to find ctags (which ctags). If ctags can be found, config parameter is temporarily adjusted with a caveat to user.

    Unhappily, the warning message can go unnoticed in genxref output.

     
  • Andre-Littoz

    Andre-Littoz - 2011-12-26
    • status: open-fixed --> closed-fixed
     
  • Andre-Littoz

    Andre-Littoz - 2011-12-26

    A new option --checkonly has been added to genxref with corresponding tests for tools versions (aka Perl interpreter and ctags) to allow for tests before going into indexation where output can (and really does) hide the test results.

     

Log in to post a comment.