tests/option-tester.sh

Gary E. Miller gem at rellim.com
Tue Dec 5 03:15:03 UTC 2017


Yo Hal!

On Mon, 04 Dec 2017 18:08:13 -0800
Hal Murray <hmurray at megapathdsl.net> wrote:

> gem at rellim.com said:
> > Since I do not have NTP_DEBUG_LISTS defined, the extern is never
> > pulled in. Not the first time thee DBUG stuff caused issues for
> > me.   
> 
> Look in include/ntp_lists.h
> 
> if DEBUG exists, it defines NTP_DEBUG_LISTS
> and sets up a couple of list macros to call check_gen_fifo_consistency
> 
> The question is how is DEBUG getting set.

I can confirm that debug is being set.

I just put this in my include/ntp_lists.h:

#ifdef DEBUG
Gack
#endif

Attached is test-default/config.log and test-default/test.log.  The test
failed because 'Gack' does not compute...

I don not see anything in there to turn on DEBUG.

Is there a verbose option for waf to show the gcc commands it is running?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: text/x-log
Size: 244054 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20171204/8c364974/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.log
Type: text/x-log
Size: 10146 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20171204/8c364974/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20171204/8c364974/attachment-0002.bin>


More information about the devel mailing list