|
From: | Charles Wilson |
Subject: | Re: [PATCH] Enable runtime cwrapper debugging; add tests |
Date: | Sat, 27 Jun 2009 11:51:48 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.6.666 |
Charles Wilson wrote: > * libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src) > [ltwrapper_debugprintf]: Renamed to... > [lt_debugprintf]: this. Only print messages if lt_debug != 0. > [file scope]: Add constants and variables to support new --lt-debug > option. Remove LTWRAPPER_DEBUGPRINTF macro. > [main]: Consolidate option parsing. Ensure first use of lt_debugprintf > occurs after option parsing. Add stanza to parse for --lt-debug and > set lt_debug variable. > [all]: Use lt_debugprintf () instead of LTWRAPPER_DEBUGPRINTF (()). > * tests/cwrapper.at: Add new tests for --lt-debug and -DLT_DEBUGWRAPPER. > --- > Another fragment arising from review of > http://lists.gnu.org/archive/html/libtool-patches/2009-06/msg00031.html > > Lightly tested by running "tests/demo-shared.test tests/demo-make.test > tests/demo-exec.test" and cwrapper.at. > > Ok to push? Ping? I'll follow up this patch with another to add "support" for --lt-debug --lt-dump-script to the shell wrapper. --lt-debug will do very little other than $ECHO the full path to the program executable and its arguments. --lt-dump-script will simply { cat $0 && exit 0 } Then I'll revise and retitle the remainder of [PATCH] Document and test LT_DEBUGWRAPPER cwrapper macro http://lists.gnu.org/archive/html/libtool-patches/2009-06/msg00031.html as appropriate. -- Chuck
[Prev in Thread] | Current Thread | [Next in Thread] |