Re: keep on patchin'

Jim Warner <[email protected]> Sun, 16 Aug 2020 04:58:40 -0500
Newsgroups gmane.linux.procps.devel
Message-ID <[email protected]>
On 8/13/20 6:15 AM, Craig Small wrote:
> For the check, would there be a way of 
> making a test program and putting it into the lib directory?

Hi Craig,

Attached are 4 patches for the newlib branch related to that new #define 
ITEMTABLE_DEBUG feature.  Since tests are currently found in both the 
lib/ and proc/ directories, this new one went to proc/.

The topmost (#0004) patch is a temporary hack used to activate the 
define and should never be pushed.  However its commit message lists the 
things a 'make check' needs to do to automate the process.

Anyway, I've taken the build stuff as far as I'm able.  Now it's your 
turn to coerce automake into extending his 'make check'.

Incidentally, there is a dejagnu error which I was unable to debug.  It 
appears to relate to that site.exp.  Thus, 'make check' and 'make 
distcheck' each require the '-i' switch if one is to see results from 
this new test.

Regards,

Jim

p.s. If you want to force an error after applying these 4 patches, just 
switch a couple of header file enumerators or source file Item_table 
entries.  I switch the last 2 enumerators in some header so that both 
error messages are produced.
newlib-4-builds.tgz (application/x-compressed-tar, 3.8 KB) - not displayed