Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-13 Thread Chris Johns
On 13/03/2015 7:29 pm, Sebastian Huber wrote: On 12/03/15 18:41, Joel Sherrill wrote: Hi Many BSPs can link a test but don't actually have enough memory to run the test. They will fail in the first few lines when the requested memory for the RTEMS work area is not available. I hacked together

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-13 Thread Sebastian Huber
On 12/03/15 18:41, Joel Sherrill wrote: Hi Many BSPs can link a test but don't actually have enough memory to run the test. They will fail in the first few lines when the requested memory for the RTEMS work area is not available. I hacked together a script which adds together the code, data, b

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Joel Sherrill
On 3/12/2015 6:02 PM, Gedare Bloom wrote: > On Thu, Mar 12, 2015 at 6:58 PM, Amar Takhar wrote: >> On 2015-03-12 12:41 -0500, Joel Sherrill wrote: >>> Hi >>> >>> Many BSPs can link a test but don't actually have enough memory >>> to run the test. They will fail in the first few lines when the re

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Amar Takhar
On 2015-03-12 19:02 -0400, Gedare Bloom wrote: > It includes the workspace size in its estimation of space? Already if > a test's binary executable size doesn't fit the build will fail at > link-time. It captures the failure and prints a warning. See: https://git.rtems.org/amar/waf.git/tree/rt

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Gedare Bloom
On Thu, Mar 12, 2015 at 6:58 PM, Amar Takhar wrote: > On 2015-03-12 12:41 -0500, Joel Sherrill wrote: >> Hi >> >> Many BSPs can link a test but don't actually have enough memory >> to run the test. They will fail in the first few lines when the requested >> memory for the RTEMS work area is not av

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Amar Takhar
On 2015-03-12 12:41 -0500, Joel Sherrill wrote: > Hi > > Many BSPs can link a test but don't actually have enough memory > to run the test. They will fail in the first few lines when the requested > memory for the RTEMS work area is not available. I hacked together > a script which adds together t

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Joel Sherrill
On 3/12/2015 1:33 PM, Gedare Bloom wrote: > On Thu, Mar 12, 2015 at 2:26 PM, Joel Sherrill > wrote: >> >> On 3/12/2015 12:45 PM, Gedare Bloom wrote: >>> On Thu, Mar 12, 2015 at 1:41 PM, Joel Sherrill >>> wrote: Hi Many BSPs can link a test but don't actually have enough memory >>

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Gedare Bloom
On Thu, Mar 12, 2015 at 2:26 PM, Joel Sherrill wrote: > > > On 3/12/2015 12:45 PM, Gedare Bloom wrote: >> On Thu, Mar 12, 2015 at 1:41 PM, Joel Sherrill >> wrote: >>> Hi >>> >>> Many BSPs can link a test but don't actually have enough memory >>> to run the test. They will fail in the first few li

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Joel Sherrill
On 3/12/2015 12:45 PM, Gedare Bloom wrote: > On Thu, Mar 12, 2015 at 1:41 PM, Joel Sherrill > wrote: >> Hi >> >> Many BSPs can link a test but don't actually have enough memory >> to run the test. They will fail in the first few lines when the requested >> memory for the RTEMS work area is not a

Re: Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Gedare Bloom
On Thu, Mar 12, 2015 at 1:41 PM, Joel Sherrill wrote: > Hi > > Many BSPs can link a test but don't actually have enough memory > to run the test. They will fail in the first few lines when the requested > memory for the RTEMS work area is not available. I hacked together > a script which adds toge

Detecting Tests Which Don't Have Enough Workspace

2015-03-12 Thread Joel Sherrill
Hi Many BSPs can link a test but don't actually have enough memory to run the test. They will fail in the first few lines when the requested memory for the RTEMS work area is not available. I hacked together a script which adds together the code, data, bss, work space and stack space requested. If