[MPlayer-DOCS] Help verification

Diego Biurrun diego at biurrun.de
Tue Oct 28 10:44:49 CET 2003


Torinthiel writes:
 > Is there any method to verify if the help*.h file is correct (i.e. will
 > compile when all of the texts are used and has the proper name and order of
 > all %sth markers, unless you can think of something more)? Right now I
 > only managed to check if it is grammatically correct by copying it to
 > temporary, removing all #ifdef's and creating a new test.c file with a
 > printf for every definition. But it cannot check % markers. Any better
 > ideas? Or should I just commit help_mp-pl.h and don't care (it compiles
 > cleanly for me and passed the mentioned test).

Commit it.  You can use help/help-diff.sh to verify it contains all
the messages, but further than that you will have to verify it by hand
if you want to be really sure.

Diego



More information about the MPlayer-DOCS mailing list