Hi Stephan,
On Thu, Mar 02, 2006 at 17:22:41 +0100, Stephan Bergmann wrote:
> - hardcoded "../../../" does not always work (or did I miss anything),
Of course not, but that can be easily replaced by something like (all on
one line)
set prj=`sed -e '/^[[:space:]]*PRJ[[:space:]]*=/bP; d; b; :P; s/.*PRJ.*=//;
s#\$/#/#g; q' makefile.mk`
and use ${prj} instead of ../../.., which I just tried, works fine.
Uncapable 'sed's not knowing the [:space:] class need modification to
accept blank and tab, e.g. [ \t].
I don't think that this should replace your testhxx to test delivered
files, but it is a convenient method for a developer to
semi-automatically test header files within a module, whether they get
delivered or not, using all "live" defines and switches. Could need some
adaption to also fetch files from other include paths local to the
module's subdirectory hierarchy, e.g. ../inc or such.
> - this won't work for delivered headers (which might fail due to hedabu
> modifying them
AFAIK the only thing hedabu does nowadays is to prepend the module's
path in include statements referring to delivered headers of the same
module. I may be wrong on this though.
> and due to missing other headers not delivered, etc.,
> even if the local counterparts work ok)
Sure, that's an additional 'solver' test.
Eike
--
OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
GnuPG key 0x293C05FD: 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]